Shades of Midnight #1F2A3B
Tints of Midnight #1F2A3B
RGB
CMYK
RGB Variations
Color information
#1F2A3B (or 0x1F2A3B) is known color: Midnight. HEX triplet: 1F, 2A and 3B. RGB value is (31,42,59). Sum of RGB (Red+Green+Blue) = 31+42+59=132 (17% of max value = 765). Red value is 31 (12.5% from 255 or 23.48% from 132); Green value is 42 (16.80% from 255 or 31.82% from 132); Blue value is 59 (23.44% from 255 or 44.70% from 132); Max value from RGB is 59 - color contains mainly: blue. Hex color #1F2A3B is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2A3B is #E0D5C4. Grayscale: #282828. Windows color (decimal): -14734789 or 3877407. OLE color: 3877407.
HSL color Cylindrical-coordinate representation of color #1F2A3B: hue angle of 216.43º degrees, saturation: 0.31, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.23% and HSV saturation: 0.47%. Process color model (Four color, CMYK) of #1F2A3B is Cyan = 0.47, Magento = 0.29, Yellow = 0 and Black (K on CMYK) = 0.77.
Color convert
| RGB | 31 | 42 | 59 | - |
| CMYK | 0.47 | 0.29 | 0 | 0.77 |
| HSL | 216.43º | 0.31% | 0.18% | - |
| HSV(B) | 216.43º | 0.47% | 0.23% | - |
| XYZ | 2.18 | 2.26 | 4.46 | - |
| YUV | 40.65 | 138.36 | 121.12 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 59 | 0.47 | 0.29 | 0 | 0.77 | 216.43 | 0.31 | 0.18 |
| Hex | 1F | 2A | 3B | 2F | 1D | 0 | 4D | D8 | 1F | 12 |
| Octal | 37 | 52 | 73 | 57 | 35 | 0 | 115 | 330 | 37 | 22 |
| Binary | 11111 | 101010 | 111011 | 101111 | 11101 | 0 | 1001101 | 11011000 | 11111 | 10010 |
Color Harmonies of #1F2A3B
Complementary color
Monochromatic Colors of #1F2A3B
Black with #1F2A3B
Text Example
Text Example
White with #1F2A3B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A3B; }
p { color: rgb(31,42,59); }
H1.HeaderClassName
{
color: #1F2A3B;
}
.AnyTagClassName
{
color: #1F2A3B;
}
</style>
background-color css
<style>
a { background-color: #1F2A3B; }
a { background-color: rgb(31,42,59); }
div.DivClassName
{
background-color: #1F2A3B;
}
.BgClassName
{
background-color: #1F2A3B;
}
</style>
border-color css
<style>
span { border-color: #1F2A3B; }
span { border-color: rgb(31,42,59); }
td.TdClassName
{
border-color: #1F2A3B;
}
.TagClassName
{
border-color: #1F2A3B;
}
</style>