Shades of Midnight #1F2F40
Tints of Midnight #1F2F40
RGB
CMYK
RGB Variations
Color information
#1F2F40 (or 0x1F2F40) is known color: Midnight. HEX triplet: 1F, 2F and 40. RGB value is (31,47,64). Sum of RGB (Red+Green+Blue) = 31+47+64=142 (18% of max value = 765). Red value is 31 (12.5% from 255 or 21.83% from 142); Green value is 47 (18.75% from 255 or 33.10% from 142); Blue value is 64 (25.39% from 255 or 45.07% from 142); Max value from RGB is 64 - color contains mainly: blue. Hex color #1F2F40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2F40 is #E0D0BF. Grayscale: #2C2C2C. Windows color (decimal): -14733504 or 4206367. OLE color: 4206367.
HSL color Cylindrical-coordinate representation of color #1F2F40: hue angle of 210.91º degrees, saturation: 0.35, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.52%. Process color model (Four color, CMYK) of #1F2F40 is Cyan = 0.52, Magento = 0.27, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 31 | 47 | 64 | - |
| CMYK | 0.52 | 0.27 | 0 | 0.75 |
| HSL | 210.91º | 0.35% | 0.19% | - |
| HSV(B) | 210.91º | 0.52% | 0.25% | - |
| XYZ | 2.51 | 2.69 | 5.24 | - |
| YUV | 44.15 | 139.2 | 118.62 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 47 | 64 | 0.52 | 0.27 | 0 | 0.75 | 210.91 | 0.35 | 0.19 |
| Hex | 1F | 2F | 40 | 34 | 1B | 0 | 4B | D3 | 23 | 13 |
| Octal | 37 | 57 | 100 | 64 | 33 | 0 | 113 | 323 | 43 | 23 |
| Binary | 11111 | 101111 | 1000000 | 110100 | 11011 | 0 | 1001011 | 11010011 | 100011 | 10011 |
Color Harmonies of #1F2F40
Complementary color
Monochromatic Colors of #1F2F40
Black with #1F2F40
Text Example
Text Example
White with #1F2F40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2F40; }
p { color: rgb(31,47,64); }
H1.HeaderClassName
{
color: #1F2F40;
}
.AnyTagClassName
{
color: #1F2F40;
}
</style>
background-color css
<style>
a { background-color: #1F2F40; }
a { background-color: rgb(31,47,64); }
div.DivClassName
{
background-color: #1F2F40;
}
.BgClassName
{
background-color: #1F2F40;
}
</style>
border-color css
<style>
span { border-color: #1F2F40; }
span { border-color: rgb(31,47,64); }
td.TdClassName
{
border-color: #1F2F40;
}
.TagClassName
{
border-color: #1F2F40;
}
</style>