Shades of Midnight #1F2A39
Tints of Midnight #1F2A39
RGB
CMYK
RGB Variations
Color information
#1F2A39 (or 0x1F2A39) is known color: Midnight. HEX triplet: 1F, 2A and 39. RGB value is (31,42,57). Sum of RGB (Red+Green+Blue) = 31+42+57=130 (17% of max value = 765). Red value is 31 (12.5% from 255 or 23.85% from 130); Green value is 42 (16.80% from 255 or 32.31% from 130); Blue value is 57 (22.66% from 255 or 43.85% from 130); Max value from RGB is 57 - color contains mainly: blue. Hex color #1F2A39 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2A39 is #E0D5C6. Grayscale: #282828. Windows color (decimal): -14734791 or 3746335. OLE color: 3746335.
HSL color Cylindrical-coordinate representation of color #1F2A39: hue angle of 214.62º degrees, saturation: 0.3, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.22% and HSV saturation: 0.46%. Process color model (Four color, CMYK) of #1F2A39 is Cyan = 0.46, Magento = 0.26, Yellow = 0 and Black (K on CMYK) = 0.78.
Color convert
| RGB | 31 | 42 | 57 | - |
| CMYK | 0.46 | 0.26 | 0 | 0.78 |
| HSL | 214.62º | 0.3% | 0.17% | - |
| HSV(B) | 214.62º | 0.46% | 0.22% | - |
| XYZ | 2.13 | 2.24 | 4.19 | - |
| YUV | 40.42 | 137.36 | 121.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 57 | 0.46 | 0.26 | 0 | 0.78 | 214.62 | 0.3 | 0.17 |
| Hex | 1F | 2A | 39 | 2E | 1A | 0 | 4E | D7 | 1E | 11 |
| Octal | 37 | 52 | 71 | 56 | 32 | 0 | 116 | 327 | 36 | 21 |
| Binary | 11111 | 101010 | 111001 | 101110 | 11010 | 0 | 1001110 | 11010111 | 11110 | 10001 |
Color Harmonies of #1F2A39
Complementary color
Monochromatic Colors of #1F2A39
Black with #1F2A39
Text Example
Text Example
White with #1F2A39
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A39; }
p { color: rgb(31,42,57); }
H1.HeaderClassName
{
color: #1F2A39;
}
.AnyTagClassName
{
color: #1F2A39;
}
</style>
background-color css
<style>
a { background-color: #1F2A39; }
a { background-color: rgb(31,42,57); }
div.DivClassName
{
background-color: #1F2A39;
}
.BgClassName
{
background-color: #1F2A39;
}
</style>
border-color css
<style>
span { border-color: #1F2A39; }
span { border-color: rgb(31,42,57); }
td.TdClassName
{
border-color: #1F2A39;
}
.TagClassName
{
border-color: #1F2A39;
}
</style>