Shades of Midnight Express #151F40
Tints of Midnight Express #151F40
RGB
CMYK
RGB Variations
Color information
#151F40 (or 0x151F40) is known color: Midnight Express. HEX triplet: 15, 1F and 40. RGB value is (21,31,64). Sum of RGB (Red+Green+Blue) = 21+31+64=116 (15% of max value = 765). Red value is 21 (8.59% from 255 or 18.10% from 116); Green value is 31 (12.5% from 255 or 26.72% from 116); Blue value is 64 (25.39% from 255 or 55.17% from 116); Max value from RGB is 64 - color contains mainly: blue. Hex color #151F40 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #151F40 is #EAE0BF. Grayscale: #1F1F1F. Windows color (decimal): -15392960 or 4202261. OLE color: 4202261.
HSL color Cylindrical-coordinate representation of color #151F40: hue angle of 226.05º degrees, saturation: 0.51, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.25% and HSV saturation: 0.67%. Process color model (Four color, CMYK) of #151F40 is Cyan = 0.67, Magento = 0.52, Yellow = 0 and Black (K on CMYK) = 0.75.
Color convert
| RGB | 21 | 31 | 64 | - |
| CMYK | 0.67 | 0.52 | 0 | 0.75 |
| HSL | 226.05º | 0.51% | 0.17% | - |
| HSV(B) | 226.05º | 0.67% | 0.25% | - |
| XYZ | 1.72 | 1.51 | 5.05 | - |
| YUV | 31.77 | 146.19 | 120.32 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 31 | 64 | 0.67 | 0.52 | 0 | 0.75 | 226.05 | 0.51 | 0.17 |
| Hex | 15 | 1F | 40 | 43 | 34 | 0 | 4B | E2 | 33 | 11 |
| Octal | 25 | 37 | 100 | 103 | 64 | 0 | 113 | 342 | 63 | 21 |
| Binary | 10101 | 11111 | 1000000 | 1000011 | 110100 | 0 | 1001011 | 11100010 | 110011 | 10001 |
Color Harmonies of #151F40
Complementary color
Monochromatic Colors of #151F40
Black with #151F40
Text Example
Text Example
White with #151F40
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #151F40; }
p { color: rgb(21,31,64); }
H1.HeaderClassName
{
color: #151F40;
}
.AnyTagClassName
{
color: #151F40;
}
</style>
background-color css
<style>
a { background-color: #151F40; }
a { background-color: rgb(21,31,64); }
div.DivClassName
{
background-color: #151F40;
}
.BgClassName
{
background-color: #151F40;
}
</style>
border-color css
<style>
span { border-color: #151F40; }
span { border-color: rgb(21,31,64); }
td.TdClassName
{
border-color: #151F40;
}
.TagClassName
{
border-color: #151F40;
}
</style>