Shades of Midnight Express #1F2540
Tints of Midnight Express #1F2540
RGB
CMYK
RGB Variations
Color information
#1F2540 (or 0x1F2540) is known color: Midnight Express. HEX triplet: 1F, 25 and 40. RGB value is (31,37,64). Sum of RGB (Red+Green+Blue) = 31+37+64=132 (17% of max value = 765). Red value is 31 (12.5% from 255 or 23.48% from 132); Green value is 37 (14.84% from 255 or 28.03% from 132); Blue value is 64 (25.39% from 255 or 48.48% from 132); Max value from RGB is 64 - color contains mainly: blue. Hex color #1F2540 is not a web safe color. Web safe color analog (approx): #333333. Inversed color of #1F2540 is #E0DABF. Grayscale: #262626. Windows color (decimal): -14736064 or 4203807. OLE color: 4203807.
HSL color Cylindrical-coordinate representation of color #1F2540: hue angle of 229.09º 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 #1F2540 is Cyan = 0.52, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 31 | 37 | 64 | - |
| CMYK | 0.52 | 0.42 | 0 | 0.75 |
| HSL | 229.09º | 0.35% | 0.19% | - |
| HSV(B) | 229.09º | 0.52% | 0.25% | - |
| XYZ | 2.15 | 1.98 | 5.12 | - |
| YUV | 38.28 | 142.51 | 122.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 31 | 37 | 64 | 0.52 | 0.42 | 0 | 0.75 | 229.09 | 0.35 | 0.19 |
| Hex | 1F | 25 | 40 | 34 | 2A | 0 | 4B | E5 | 23 | 13 |
| Octal | 37 | 45 | 100 | 64 | 52 | 0 | 113 | 345 | 43 | 23 |
| Binary | 11111 | 100101 | 1000000 | 110100 | 101010 | 0 | 1001011 | 11100101 | 100011 | 10011 |
Color Harmonies of #1F2540
Complementary color
Monochromatic Colors of #1F2540
Black with #1F2540
Text Example
Text Example
White with #1F2540
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #1F2540; }
p { color: rgb(31,37,64); }
H1.HeaderClassName
{
color: #1F2540;
}
.AnyTagClassName
{
color: #1F2540;
}
</style>
background-color css
<style>
a { background-color: #1F2540; }
a { background-color: rgb(31,37,64); }
div.DivClassName
{
background-color: #1F2540;
}
.BgClassName
{
background-color: #1F2540;
}
</style>
border-color css
<style>
span { border-color: #1F2540; }
span { border-color: rgb(31,37,64); }
td.TdClassName
{
border-color: #1F2540;
}
.TagClassName
{
border-color: #1F2540;
}
</style>