Shades of Midnight Blue #151F78
Tints of Midnight Blue #151F78
RGB
CMYK
RGB Variations
Color information
#151F78 (or 0x151F78) is known color: Midnight Blue. HEX triplet: 15, 1F and 78. RGB value is (21,31,120). Sum of RGB (Red+Green+Blue) = 21+31+120=172 (22% of max value = 765). Red value is 21 (8.59% from 255 or 12.21% from 172); Green value is 31 (12.5% from 255 or 18.02% from 172); Blue value is 120 (47.27% from 255 or 69.77% from 172); Max value from RGB is 120 - color contains mainly: blue. Hex color #151F78 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #151F78 is #EAE087. Grayscale: #252525. Windows color (decimal): -15392904 or 7872277. OLE color: 7872277.
HSL color Cylindrical-coordinate representation of color #151F78: hue angle of 233.94º degrees, saturation: 0.7, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.82%. Process color model (Four color, CMYK) of #151F78 is Cyan = 0.83, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 21 | 31 | 120 | - |
| CMYK | 0.83 | 0.74 | 0 | 0.53 |
| HSL | 233.94º | 0.7% | 0.28% | - |
| HSV(B) | 233.94º | 0.83% | 0.47% | - |
| XYZ | 4.19 | 2.5 | 18.03 | - |
| YUV | 38.16 | 174.19 | 115.76 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 31 | 120 | 0.83 | 0.74 | 0 | 0.53 | 233.94 | 0.7 | 0.28 |
| Hex | 15 | 1F | 78 | 53 | 4A | 0 | 35 | EA | 46 | 1C |
| Octal | 25 | 37 | 170 | 123 | 112 | 0 | 65 | 352 | 106 | 34 |
| Binary | 10101 | 11111 | 1111000 | 1010011 | 1001010 | 0 | 110101 | 11101010 | 1000110 | 11100 |
Color Harmonies of #151F78
Complementary color
Monochromatic Colors of #151F78
Black with #151F78
Text Example
Text Example
White with #151F78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #151F78; }
p { color: rgb(21,31,120); }
H1.HeaderClassName
{
color: #151F78;
}
.AnyTagClassName
{
color: #151F78;
}
</style>
background-color css
<style>
a { background-color: #151F78; }
a { background-color: rgb(21,31,120); }
div.DivClassName
{
background-color: #151F78;
}
.BgClassName
{
background-color: #151F78;
}
</style>
border-color css
<style>
span { border-color: #151F78; }
span { border-color: rgb(21,31,120); }
td.TdClassName
{
border-color: #151F78;
}
.TagClassName
{
border-color: #151F78;
}
</style>