Shades of Midnight #1F2A37
Tints of Midnight #1F2A37
RGB
CMYK
RGB Variations
Color information
#1F2A37 (or 0x1F2A37) is known color: Midnight. HEX triplet: 1F, 2A and 37. RGB value is (31,42,55). Sum of RGB (Red+Green+Blue) = 31+42+55=128 (16% of max value = 765). Red value is 31 (12.5% from 255 or 24.22% from 128); Green value is 42 (16.80% from 255 or 32.81% from 128); Blue value is 55 (21.88% from 255 or 42.97% from 128); Max value from RGB is 55 - color contains mainly: blue. Hex color #1F2A37 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2A37 is #E0D5C8. Grayscale: #282828. Windows color (decimal): -14734793 or 3615263. OLE color: 3615263.
HSL color Cylindrical-coordinate representation of color #1F2A37: hue angle of 212.5º degrees, saturation: 0.28, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.22% and HSV saturation: 0.44%. Process color model (Four color, CMYK) of #1F2A37 is Cyan = 0.44, Magento = 0.24, Yellow = 0 and Black (K on CMYK) = 0.78.
Color convert
| RGB | 31 | 42 | 55 | - |
| CMYK | 0.44 | 0.24 | 0 | 0.78 |
| HSL | 212.5º | 0.28% | 0.17% | - |
| HSV(B) | 212.5º | 0.44% | 0.22% | - |
| XYZ | 2.08 | 2.22 | 3.93 | - |
| YUV | 40.19 | 136.36 | 121.44 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 55 | 0.44 | 0.24 | 0 | 0.78 | 212.5 | 0.28 | 0.17 |
| Hex | 1F | 2A | 37 | 2C | 18 | 0 | 4E | D4 | 1C | 11 |
| Octal | 37 | 52 | 67 | 54 | 30 | 0 | 116 | 324 | 34 | 21 |
| Binary | 11111 | 101010 | 110111 | 101100 | 11000 | 0 | 1001110 | 11010100 | 11100 | 10001 |
Color Harmonies of #1F2A37
Complementary color
Monochromatic Colors of #1F2A37
Black with #1F2A37
Text Example
Text Example
White with #1F2A37
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A37; }
p { color: rgb(31,42,55); }
H1.HeaderClassName
{
color: #1F2A37;
}
.AnyTagClassName
{
color: #1F2A37;
}
</style>
background-color css
<style>
a { background-color: #1F2A37; }
a { background-color: rgb(31,42,55); }
div.DivClassName
{
background-color: #1F2A37;
}
.BgClassName
{
background-color: #1F2A37;
}
</style>
border-color css
<style>
span { border-color: #1F2A37; }
span { border-color: rgb(31,42,55); }
td.TdClassName
{
border-color: #1F2A37;
}
.TagClassName
{
border-color: #1F2A37;
}
</style>