Shades of Midnight #152E51
Tints of Midnight #152E51
RGB
CMYK
RGB Variations
Color information
#152E51 (or 0x152E51) is known color: Midnight. HEX triplet: 15, 2E and 51. RGB value is (21,46,81). Sum of RGB (Red+Green+Blue) = 21+46+81=148 (19% of max value = 765). Red value is 21 (8.59% from 255 or 14.19% from 148); Green value is 46 (18.36% from 255 or 31.08% from 148); Blue value is 81 (32.03% from 255 or 54.73% from 148); Max value from RGB is 81 - color contains mainly: blue. Hex color #152E51 is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152E51 is #EAD1AE. Grayscale: #2A2A2A. Windows color (decimal): -15389103 or 5320213. OLE color: 5320213.
HSL color Cylindrical-coordinate representation of color #152E51: hue angle of 215º degrees, saturation: 0.59, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.32% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #152E51 is Cyan = 0.74, Magento = 0.43, Yellow = 0 and Black (K on CMYK) = 0.68.
Color convert
| RGB | 21 | 46 | 81 | - |
| CMYK | 0.74 | 0.43 | 0 | 0.68 |
| HSL | 215º | 0.59% | 0.2% | - |
| HSV(B) | 215º | 0.74% | 0.32% | - |
| XYZ | 2.77 | 2.71 | 8.16 | - |
| YUV | 42.52 | 149.72 | 112.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 46 | 81 | 0.74 | 0.43 | 0 | 0.68 | 215 | 0.59 | 0.2 |
| Hex | 15 | 2E | 51 | 4A | 2B | 0 | 44 | D7 | 3B | 14 |
| Octal | 25 | 56 | 121 | 112 | 53 | 0 | 104 | 327 | 73 | 24 |
| Binary | 10101 | 101110 | 1010001 | 1001010 | 101011 | 0 | 1000100 | 11010111 | 111011 | 10100 |
Color Harmonies of #152E51
Complementary color
Monochromatic Colors of #152E51
Black with #152E51
Text Example
Text Example
White with #152E51
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152E51; }
p { color: rgb(21,46,81); }
H1.HeaderClassName
{
color: #152E51;
}
.AnyTagClassName
{
color: #152E51;
}
</style>
background-color css
<style>
a { background-color: #152E51; }
a { background-color: rgb(21,46,81); }
div.DivClassName
{
background-color: #152E51;
}
.BgClassName
{
background-color: #152E51;
}
</style>
border-color css
<style>
span { border-color: #152E51; }
span { border-color: rgb(21,46,81); }
td.TdClassName
{
border-color: #152E51;
}
.TagClassName
{
border-color: #152E51;
}
</style>