Shades of Midnight #1F2E42
Tints of Midnight #1F2E42
RGB
CMYK
RGB Variations
Color information
#1F2E42 (or 0x1F2E42) is known color: Midnight. HEX triplet: 1F, 2E and 42. RGB value is (31,46,66). Sum of RGB (Red+Green+Blue) = 31+46+66=143 (18% of max value = 765). Red value is 31 (12.5% from 255 or 21.68% from 143); Green value is 46 (18.36% from 255 or 32.17% from 143); Blue value is 66 (26.17% from 255 or 46.15% from 143); Max value from RGB is 66 - color contains mainly: blue. Hex color #1F2E42 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2E42 is #E0D1BD. Grayscale: #2B2B2B. Windows color (decimal): -14733758 or 4337183. OLE color: 4337183.
HSL color Cylindrical-coordinate representation of color #1F2E42: hue angle of 214.29º degrees, saturation: 0.36, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.26% and HSV saturation: 0.53%. Process color model (Four color, CMYK) of #1F2E42 is Cyan = 0.53, Magento = 0.30, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 31 | 46 | 66 | - |
| CMYK | 0.53 | 0.30 | 0 | 0.74 |
| HSL | 214.29º | 0.36% | 0.19% | - |
| HSV(B) | 214.29º | 0.53% | 0.26% | - |
| XYZ | 2.53 | 2.64 | 5.53 | - |
| YUV | 43.8 | 140.53 | 118.87 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 46 | 66 | 0.53 | 0.30 | 0 | 0.74 | 214.29 | 0.36 | 0.19 |
| Hex | 1F | 2E | 42 | 35 | 1E | 0 | 4A | D6 | 24 | 13 |
| Octal | 37 | 56 | 102 | 65 | 36 | 0 | 112 | 326 | 44 | 23 |
| Binary | 11111 | 101110 | 1000010 | 110101 | 11110 | 0 | 1001010 | 11010110 | 100100 | 10011 |
Color Harmonies of #1F2E42
Complementary color
Monochromatic Colors of #1F2E42
Black with #1F2E42
Text Example
Text Example
White with #1F2E42
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2E42; }
p { color: rgb(31,46,66); }
H1.HeaderClassName
{
color: #1F2E42;
}
.AnyTagClassName
{
color: #1F2E42;
}
</style>
background-color css
<style>
a { background-color: #1F2E42; }
a { background-color: rgb(31,46,66); }
div.DivClassName
{
background-color: #1F2E42;
}
.BgClassName
{
background-color: #1F2E42;
}
</style>
border-color css
<style>
span { border-color: #1F2E42; }
span { border-color: rgb(31,46,66); }
td.TdClassName
{
border-color: #1F2E42;
}
.TagClassName
{
border-color: #1F2E42;
}
</style>