Shades of Midnight Express #1F2A40
Tints of Midnight Express #1F2A40
RGB
CMYK
RGB Variations
Color information
#1F2A40 (or 0x1F2A40) is known color: Midnight Express. HEX triplet: 1F, 2A and 40. RGB value is (31,42,64). Sum of RGB (Red+Green+Blue) = 31+42+64=137 (18% of max value = 765). Red value is 31 (12.5% from 255 or 22.63% from 137); Green value is 42 (16.80% from 255 or 30.66% from 137); Blue value is 64 (25.39% from 255 or 46.72% from 137); Max value from RGB is 64 - color contains mainly: blue. Hex color #1F2A40 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2A40 is #E0D5BF. Grayscale: #292929. Windows color (decimal): -14734784 or 4205087. OLE color: 4205087.
HSL color Cylindrical-coordinate representation of color #1F2A40: hue angle of 220º 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 #1F2A40 is Cyan = 0.52, Magento = 0.34, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 31 | 42 | 64 | - |
| CMYK | 0.52 | 0.34 | 0 | 0.75 |
| HSL | 220º | 0.35% | 0.19% | - |
| HSV(B) | 220º | 0.52% | 0.25% | - |
| XYZ | 2.32 | 2.32 | 5.18 | - |
| YUV | 41.22 | 140.86 | 120.71 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 42 | 64 | 0.52 | 0.34 | 0 | 0.75 | 220 | 0.35 | 0.19 |
| Hex | 1F | 2A | 40 | 34 | 22 | 0 | 4B | DC | 23 | 13 |
| Octal | 37 | 52 | 100 | 64 | 42 | 0 | 113 | 334 | 43 | 23 |
| Binary | 11111 | 101010 | 1000000 | 110100 | 100010 | 0 | 1001011 | 11011100 | 100011 | 10011 |
Color Harmonies of #1F2A40
Complementary color
Monochromatic Colors of #1F2A40
Black with #1F2A40
Text Example
Text Example
White with #1F2A40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2A40; }
p { color: rgb(31,42,64); }
H1.HeaderClassName
{
color: #1F2A40;
}
.AnyTagClassName
{
color: #1F2A40;
}
</style>
background-color css
<style>
a { background-color: #1F2A40; }
a { background-color: rgb(31,42,64); }
div.DivClassName
{
background-color: #1F2A40;
}
.BgClassName
{
background-color: #1F2A40;
}
</style>
border-color css
<style>
span { border-color: #1F2A40; }
span { border-color: rgb(31,42,64); }
td.TdClassName
{
border-color: #1F2A40;
}
.TagClassName
{
border-color: #1F2A40;
}
</style>