Shades of Midnight #152A47
Tints of Midnight #152A47
RGB
CMYK
RGB Variations
Color information
#152A47 (or 0x152A47) is known color: Midnight. HEX triplet: 15, 2A and 47. RGB value is (21,42,71). Sum of RGB (Red+Green+Blue) = 21+42+71=134 (17% of max value = 765). Red value is 21 (8.59% from 255 or 15.67% from 134); Green value is 42 (16.80% from 255 or 31.34% from 134); Blue value is 71 (28.12% from 255 or 52.99% from 134); Max value from RGB is 71 - color contains mainly: blue. Hex color #152A47 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152A47 is #EAD5B8. Grayscale: #262626. Windows color (decimal): -15390137 or 4663829. OLE color: 4663829.
HSL color Cylindrical-coordinate representation of color #152A47: hue angle of 214.8º 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 #152A47 is Cyan = 0.70, Magento = 0.41, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 21 | 42 | 71 | - |
| CMYK | 0.70 | 0.41 | 0 | 0.72 |
| HSL | 214.8º | 0.54% | 0.18% | - |
| HSV(B) | 214.8º | 0.7% | 0.28% | - |
| XYZ | 2.27 | 2.27 | 6.28 | - |
| YUV | 39.03 | 146.04 | 115.14 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 71 | 0.70 | 0.41 | 0 | 0.72 | 214.8 | 0.54 | 0.18 |
| Hex | 15 | 2A | 47 | 46 | 29 | 0 | 48 | D7 | 36 | 12 |
| Octal | 25 | 52 | 107 | 106 | 51 | 0 | 110 | 327 | 66 | 22 |
| Binary | 10101 | 101010 | 1000111 | 1000110 | 101001 | 0 | 1001000 | 11010111 | 110110 | 10010 |
Color Harmonies of #152A47
Complementary color
Monochromatic Colors of #152A47
Black with #152A47
Text Example
Text Example
White with #152A47
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A47; }
p { color: rgb(21,42,71); }
H1.HeaderClassName
{
color: #152A47;
}
.AnyTagClassName
{
color: #152A47;
}
</style>
background-color css
<style>
a { background-color: #152A47; }
a { background-color: rgb(21,42,71); }
div.DivClassName
{
background-color: #152A47;
}
.BgClassName
{
background-color: #152A47;
}
</style>
border-color css
<style>
span { border-color: #152A47; }
span { border-color: rgb(21,42,71); }
td.TdClassName
{
border-color: #152A47;
}
.TagClassName
{
border-color: #152A47;
}
</style>