Shades of Midnight #152A49
Tints of Midnight #152A49
RGB
CMYK
RGB Variations
Color information
#152A49 (or 0x152A49) is known color: Midnight. HEX triplet: 15, 2A and 49. RGB value is (21,42,73). Sum of RGB (Red+Green+Blue) = 21+42+73=136 (18% of max value = 765). Red value is 21 (8.59% from 255 or 15.44% from 136); Green value is 42 (16.80% from 255 or 30.88% from 136); Blue value is 73 (28.91% from 255 or 53.68% from 136); Max value from RGB is 73 - color contains mainly: blue. Hex color #152A49 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152A49 is #EAD5B6. Grayscale: #272727. Windows color (decimal): -15390135 or 4794901. OLE color: 4794901.
HSL color Cylindrical-coordinate representation of color #152A49: hue angle of 215.77º degrees, saturation: 0.55, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #152A49 is Cyan = 0.71, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 21 | 42 | 73 | - |
| CMYK | 0.71 | 0.42 | 0 | 0.71 |
| HSL | 215.77º | 0.55% | 0.18% | - |
| HSV(B) | 215.77º | 0.71% | 0.29% | - |
| XYZ | 2.34 | 2.3 | 6.62 | - |
| YUV | 39.26 | 147.04 | 114.98 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 73 | 0.71 | 0.42 | 0 | 0.71 | 215.77 | 0.55 | 0.18 |
| Hex | 15 | 2A | 49 | 47 | 2A | 0 | 47 | D8 | 37 | 12 |
| Octal | 25 | 52 | 111 | 107 | 52 | 0 | 107 | 330 | 67 | 22 |
| Binary | 10101 | 101010 | 1001001 | 1000111 | 101010 | 0 | 1000111 | 11011000 | 110111 | 10010 |
Color Harmonies of #152A49
Complementary color
Monochromatic Colors of #152A49
Black with #152A49
Text Example
Text Example
White with #152A49
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A49; }
p { color: rgb(21,42,73); }
H1.HeaderClassName
{
color: #152A49;
}
.AnyTagClassName
{
color: #152A49;
}
</style>
background-color css
<style>
a { background-color: #152A49; }
a { background-color: rgb(21,42,73); }
div.DivClassName
{
background-color: #152A49;
}
.BgClassName
{
background-color: #152A49;
}
</style>
border-color css
<style>
span { border-color: #152A49; }
span { border-color: rgb(21,42,73); }
td.TdClassName
{
border-color: #152A49;
}
.TagClassName
{
border-color: #152A49;
}
</style>