Shades of Midnight #152D47
Tints of Midnight #152D47
RGB
CMYK
RGB Variations
Color information
#152D47 (or 0x152D47) is known color: Midnight. HEX triplet: 15, 2D and 47. RGB value is (21,45,71). Sum of RGB (Red+Green+Blue) = 21+45+71=137 (18% of max value = 765). Red value is 21 (8.59% from 255 or 15.33% from 137); Green value is 45 (17.97% from 255 or 32.85% from 137); Blue value is 71 (28.12% from 255 or 51.82% from 137); Max value from RGB is 71 - color contains mainly: blue. Hex color #152D47 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152D47 is #EAD2B8. Grayscale: #282828. Windows color (decimal): -15389369 or 4664597. OLE color: 4664597.
HSL color Cylindrical-coordinate representation of color #152D47: hue angle of 211.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 #152D47 is Cyan = 0.70, Magento = 0.37, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 21 | 45 | 71 | - |
| CMYK | 0.70 | 0.37 | 0 | 0.72 |
| HSL | 211.2º | 0.54% | 0.18% | - |
| HSV(B) | 211.2º | 0.7% | 0.28% | - |
| XYZ | 2.38 | 2.49 | 6.32 | - |
| YUV | 40.79 | 145.05 | 113.89 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 45 | 71 | 0.70 | 0.37 | 0 | 0.72 | 211.2 | 0.54 | 0.18 |
| Hex | 15 | 2D | 47 | 46 | 25 | 0 | 48 | D3 | 36 | 12 |
| Octal | 25 | 55 | 107 | 106 | 45 | 0 | 110 | 323 | 66 | 22 |
| Binary | 10101 | 101101 | 1000111 | 1000110 | 100101 | 0 | 1001000 | 11010011 | 110110 | 10010 |
Color Harmonies of #152D47
Complementary color
Monochromatic Colors of #152D47
Black with #152D47
Text Example
Text Example
White with #152D47
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152D47; }
p { color: rgb(21,45,71); }
H1.HeaderClassName
{
color: #152D47;
}
.AnyTagClassName
{
color: #152D47;
}
</style>
background-color css
<style>
a { background-color: #152D47; }
a { background-color: rgb(21,45,71); }
div.DivClassName
{
background-color: #152D47;
}
.BgClassName
{
background-color: #152D47;
}
</style>
border-color css
<style>
span { border-color: #152D47; }
span { border-color: rgb(21,45,71); }
td.TdClassName
{
border-color: #152D47;
}
.TagClassName
{
border-color: #152D47;
}
</style>