Shades of Midnight Express #1F2842
Tints of Midnight Express #1F2842
RGB
CMYK
RGB Variations
Color information
#1F2842 (or 0x1F2842) is known color: Midnight Express. HEX triplet: 1F, 28 and 42. RGB value is (31,40,66). Sum of RGB (Red+Green+Blue) = 31+40+66=137 (18% of max value = 765). Red value is 31 (12.5% from 255 or 22.63% from 137); Green value is 40 (16.02% from 255 or 29.20% from 137); Blue value is 66 (26.17% from 255 or 48.18% from 137); Max value from RGB is 66 - color contains mainly: blue. Hex color #1F2842 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2842 is #E0D7BD. Grayscale: #282828. Windows color (decimal): -14735294 or 4335647. OLE color: 4335647.
HSL color Cylindrical-coordinate representation of color #1F2842: hue angle of 224.57º 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 #1F2842 is Cyan = 0.53, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.74.
Color convert
| RGB | 31 | 40 | 66 | - |
| CMYK | 0.53 | 0.39 | 0 | 0.74 |
| HSL | 224.57º | 0.36% | 0.19% | - |
| HSV(B) | 224.57º | 0.53% | 0.26% | - |
| XYZ | 2.31 | 2.2 | 5.46 | - |
| YUV | 40.27 | 142.52 | 121.39 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 40 | 66 | 0.53 | 0.39 | 0 | 0.74 | 224.57 | 0.36 | 0.19 |
| Hex | 1F | 28 | 42 | 35 | 27 | 0 | 4A | E1 | 24 | 13 |
| Octal | 37 | 50 | 102 | 65 | 47 | 0 | 112 | 341 | 44 | 23 |
| Binary | 11111 | 101000 | 1000010 | 110101 | 100111 | 0 | 1001010 | 11100001 | 100100 | 10011 |
Color Harmonies of #1F2842
Complementary color
Monochromatic Colors of #1F2842
Black with #1F2842
Text Example
Text Example
White with #1F2842
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2842; }
p { color: rgb(31,40,66); }
H1.HeaderClassName
{
color: #1F2842;
}
.AnyTagClassName
{
color: #1F2842;
}
</style>
background-color css
<style>
a { background-color: #1F2842; }
a { background-color: rgb(31,40,66); }
div.DivClassName
{
background-color: #1F2842;
}
.BgClassName
{
background-color: #1F2842;
}
</style>
border-color css
<style>
span { border-color: #1F2842; }
span { border-color: rgb(31,40,66); }
td.TdClassName
{
border-color: #1F2842;
}
.TagClassName
{
border-color: #1F2842;
}
</style>