Shades of Midnight #152B47
Tints of Midnight #152B47
RGB
CMYK
RGB Variations
Color information
#152B47 (or 0x152B47) is known color: Midnight. HEX triplet: 15, 2B and 47. RGB value is (21,43,71). Sum of RGB (Red+Green+Blue) = 21+43+71=135 (17% of max value = 765). Red value is 21 (8.59% from 255 or 15.56% from 135); Green value is 43 (17.19% from 255 or 31.85% from 135); Blue value is 71 (28.12% from 255 or 52.59% from 135); Max value from RGB is 71 - color contains mainly: blue. Hex color #152B47 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152B47 is #EAD4B8. Grayscale: #272727. Windows color (decimal): -15389881 or 4664085. OLE color: 4664085.
HSL color Cylindrical-coordinate representation of color #152B47: hue angle of 213.6º 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 #152B47 is Cyan = 0.70, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 21 | 43 | 71 | - |
| CMYK | 0.70 | 0.39 | 0 | 0.72 |
| HSL | 213.6º | 0.54% | 0.18% | - |
| HSV(B) | 213.6º | 0.7% | 0.28% | - |
| XYZ | 2.31 | 2.34 | 6.29 | - |
| YUV | 39.61 | 145.71 | 114.72 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 43 | 71 | 0.70 | 0.39 | 0 | 0.72 | 213.6 | 0.54 | 0.18 |
| Hex | 15 | 2B | 47 | 46 | 27 | 0 | 48 | D6 | 36 | 12 |
| Octal | 25 | 53 | 107 | 106 | 47 | 0 | 110 | 326 | 66 | 22 |
| Binary | 10101 | 101011 | 1000111 | 1000110 | 100111 | 0 | 1001000 | 11010110 | 110110 | 10010 |
Color Harmonies of #152B47
Complementary color
Monochromatic Colors of #152B47
Black with #152B47
Text Example
Text Example
White with #152B47
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152B47; }
p { color: rgb(21,43,71); }
H1.HeaderClassName
{
color: #152B47;
}
.AnyTagClassName
{
color: #152B47;
}
</style>
background-color css
<style>
a { background-color: #152B47; }
a { background-color: rgb(21,43,71); }
div.DivClassName
{
background-color: #152B47;
}
.BgClassName
{
background-color: #152B47;
}
</style>
border-color css
<style>
span { border-color: #152B47; }
span { border-color: rgb(21,43,71); }
td.TdClassName
{
border-color: #152B47;
}
.TagClassName
{
border-color: #152B47;
}
</style>