Shades of Midnight Blue #152166
Tints of Midnight Blue #152166
RGB
CMYK
RGB Variations
Color information
#152166 (or 0x152166) is known color: Midnight Blue. HEX triplet: 15, 21 and 66. RGB value is (21,33,102). Sum of RGB (Red+Green+Blue) = 21+33+102=156 (20% of max value = 765). Red value is 21 (8.59% from 255 or 13.46% from 156); Green value is 33 (13.28% from 255 or 21.15% from 156); Blue value is 102 (40.23% from 255 or 65.38% from 156); Max value from RGB is 102 - color contains mainly: blue. Hex color #152166 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152166 is #EADE99. Grayscale: #242424. Windows color (decimal): -15392410 or 6693141. OLE color: 6693141.
HSL color Cylindrical-coordinate representation of color #152166: hue angle of 231.11º degrees, saturation: 0.66, lightness: 0.24%. HSV value (or HSB Brightness) of color is 0.4% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #152166 is Cyan = 0.79, Magento = 0.68, Yellow = 0 and Black (K on CMYK) = 0.6.
Color convert
| RGB | 21 | 33 | 102 | - |
| CMYK | 0.79 | 0.68 | 0 | 0.6 |
| HSL | 231.11º | 0.66% | 0.24% | - |
| HSV(B) | 231.11º | 0.79% | 0.4% | - |
| XYZ | 3.25 | 2.21 | 12.82 | - |
| YUV | 37.28 | 164.52 | 116.39 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 33 | 102 | 0.79 | 0.68 | 0 | 0.6 | 231.11 | 0.66 | 0.24 |
| Hex | 15 | 21 | 66 | 4F | 44 | 0 | 3C | E7 | 42 | 18 |
| Octal | 25 | 41 | 146 | 117 | 104 | 0 | 74 | 347 | 102 | 30 |
| Binary | 10101 | 100001 | 1100110 | 1001111 | 1000100 | 0 | 111100 | 11100111 | 1000010 | 11000 |
Color Harmonies of #152166
Complementary color
Monochromatic Colors of #152166
Black with #152166
Text Example
Text Example
White with #152166
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152166; }
p { color: rgb(21,33,102); }
H1.HeaderClassName
{
color: #152166;
}
.AnyTagClassName
{
color: #152166;
}
</style>
background-color css
<style>
a { background-color: #152166; }
a { background-color: rgb(21,33,102); }
div.DivClassName
{
background-color: #152166;
}
.BgClassName
{
background-color: #152166;
}
</style>
border-color css
<style>
span { border-color: #152166; }
span { border-color: rgb(21,33,102); }
td.TdClassName
{
border-color: #152166;
}
.TagClassName
{
border-color: #152166;
}
</style>