Shades of Midnight Express #1F2940
Tints of Midnight Express #1F2940
RGB
CMYK
RGB Variations
Color information
#1F2940 (or 0x1F2940) is known color: Midnight Express. HEX triplet: 1F, 29 and 40. RGB value is (31,41,64). Sum of RGB (Red+Green+Blue) = 31+41+64=136 (18% of max value = 765). Red value is 31 (12.5% from 255 or 22.79% from 136); Green value is 41 (16.41% from 255 or 30.15% from 136); Blue value is 64 (25.39% from 255 or 47.06% from 136); Max value from RGB is 64 - color contains mainly: blue. Hex color #1F2940 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2940 is #E0D6BF. Grayscale: #282828. Windows color (decimal): -14735040 or 4204831. OLE color: 4204831.
HSL color Cylindrical-coordinate representation of color #1F2940: hue angle of 221.82º 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 #1F2940 is Cyan = 0.52, Magento = 0.36, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 31 | 41 | 64 | - |
| CMYK | 0.52 | 0.36 | 0 | 0.75 |
| HSL | 221.82º | 0.35% | 0.19% | - |
| HSV(B) | 221.82º | 0.52% | 0.25% | - |
| XYZ | 2.28 | 2.25 | 5.16 | - |
| YUV | 40.63 | 141.19 | 121.13 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 41 | 64 | 0.52 | 0.36 | 0 | 0.75 | 221.82 | 0.35 | 0.19 |
| Hex | 1F | 29 | 40 | 34 | 24 | 0 | 4B | DE | 23 | 13 |
| Octal | 37 | 51 | 100 | 64 | 44 | 0 | 113 | 336 | 43 | 23 |
| Binary | 11111 | 101001 | 1000000 | 110100 | 100100 | 0 | 1001011 | 11011110 | 100011 | 10011 |
Color Harmonies of #1F2940
Complementary color
Monochromatic Colors of #1F2940
Black with #1F2940
Text Example
Text Example
White with #1F2940
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2940; }
p { color: rgb(31,41,64); }
H1.HeaderClassName
{
color: #1F2940;
}
.AnyTagClassName
{
color: #1F2940;
}
</style>
background-color css
<style>
a { background-color: #1F2940; }
a { background-color: rgb(31,41,64); }
div.DivClassName
{
background-color: #1F2940;
}
.BgClassName
{
background-color: #1F2940;
}
</style>
border-color css
<style>
span { border-color: #1F2940; }
span { border-color: rgb(31,41,64); }
td.TdClassName
{
border-color: #1F2940;
}
.TagClassName
{
border-color: #1F2940;
}
</style>