Shades of Midnight Express #1F2840
Tints of Midnight Express #1F2840
RGB
CMYK
RGB Variations
Color information
#1F2840 (or 0x1F2840) is known color: Midnight Express. HEX triplet: 1F, 28 and 40. RGB value is (31,40,64). Sum of RGB (Red+Green+Blue) = 31+40+64=135 (17% of max value = 765). Red value is 31 (12.5% from 255 or 22.96% from 135); Green value is 40 (16.02% from 255 or 29.63% from 135); Blue value is 64 (25.39% from 255 or 47.41% from 135); Max value from RGB is 64 - color contains mainly: blue. Hex color #1F2840 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2840 is #E0D7BF. Grayscale: #272727. Windows color (decimal): -14735296 or 4204575. OLE color: 4204575.
HSL color Cylindrical-coordinate representation of color #1F2840: hue angle of 223.64º 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 #1F2840 is Cyan = 0.52, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 31 | 40 | 64 | - |
| CMYK | 0.52 | 0.38 | 0 | 0.75 |
| HSL | 223.64º | 0.35% | 0.19% | - |
| HSV(B) | 223.64º | 0.52% | 0.25% | - |
| XYZ | 2.25 | 2.18 | 5.15 | - |
| YUV | 40.05 | 141.52 | 121.55 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 40 | 64 | 0.52 | 0.38 | 0 | 0.75 | 223.64 | 0.35 | 0.19 |
| Hex | 1F | 28 | 40 | 34 | 26 | 0 | 4B | E0 | 23 | 13 |
| Octal | 37 | 50 | 100 | 64 | 46 | 0 | 113 | 340 | 43 | 23 |
| Binary | 11111 | 101000 | 1000000 | 110100 | 100110 | 0 | 1001011 | 11100000 | 100011 | 10011 |
Color Harmonies of #1F2840
Complementary color
Monochromatic Colors of #1F2840
Black with #1F2840
Text Example
Text Example
White with #1F2840
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2840; }
p { color: rgb(31,40,64); }
H1.HeaderClassName
{
color: #1F2840;
}
.AnyTagClassName
{
color: #1F2840;
}
</style>
background-color css
<style>
a { background-color: #1F2840; }
a { background-color: rgb(31,40,64); }
div.DivClassName
{
background-color: #1F2840;
}
.BgClassName
{
background-color: #1F2840;
}
</style>
border-color css
<style>
span { border-color: #1F2840; }
span { border-color: rgb(31,40,64); }
td.TdClassName
{
border-color: #1F2840;
}
.TagClassName
{
border-color: #1F2840;
}
</style>