Shades of Midnight #152847
Tints of Midnight #152847
RGB
CMYK
RGB Variations
Color information
#152847 (or 0x152847) is known color: Midnight. HEX triplet: 15, 28 and 47. RGB value is (21,40,71). Sum of RGB (Red+Green+Blue) = 21+40+71=132 (17% of max value = 765). Red value is 21 (8.59% from 255 or 15.91% from 132); Green value is 40 (16.02% from 255 or 30.30% from 132); Blue value is 71 (28.12% from 255 or 53.79% from 132); Max value from RGB is 71 - color contains mainly: blue. Hex color #152847 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152847 is #EAD7B8. Grayscale: #252525. Windows color (decimal): -15390649 or 4663317. OLE color: 4663317.
HSL color Cylindrical-coordinate representation of color #152847: hue angle of 217.2º degrees, saturation: 0.54, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #152847 is Cyan = 0.70, Magento = 0.44, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 21 | 40 | 71 | - |
| CMYK | 0.70 | 0.44 | 0 | 0.72 |
| HSL | 217.2º | 0.54% | 0.18% | - |
| HSV(B) | 217.2º | 0.7% | 0.28% | - |
| XYZ | 2.21 | 2.13 | 6.26 | - |
| YUV | 37.85 | 146.71 | 115.98 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 40 | 71 | 0.70 | 0.44 | 0 | 0.72 | 217.2 | 0.54 | 0.18 |
| Hex | 15 | 28 | 47 | 46 | 2C | 0 | 48 | D9 | 36 | 12 |
| Octal | 25 | 50 | 107 | 106 | 54 | 0 | 110 | 331 | 66 | 22 |
| Binary | 10101 | 101000 | 1000111 | 1000110 | 101100 | 0 | 1001000 | 11011001 | 110110 | 10010 |
Color Harmonies of #152847
Complementary color
Monochromatic Colors of #152847
Black with #152847
Text Example
Text Example
White with #152847
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152847; }
p { color: rgb(21,40,71); }
H1.HeaderClassName
{
color: #152847;
}
.AnyTagClassName
{
color: #152847;
}
</style>
background-color css
<style>
a { background-color: #152847; }
a { background-color: rgb(21,40,71); }
div.DivClassName
{
background-color: #152847;
}
.BgClassName
{
background-color: #152847;
}
</style>
border-color css
<style>
span { border-color: #152847; }
span { border-color: rgb(21,40,71); }
td.TdClassName
{
border-color: #152847;
}
.TagClassName
{
border-color: #152847;
}
</style>