Shades of Midnight #152E4D
Tints of Midnight #152E4D
RGB
CMYK
RGB Variations
Color information
#152E4D (or 0x152E4D) is known color: Midnight. HEX triplet: 15, 2E and 4D. RGB value is (21,46,77). Sum of RGB (Red+Green+Blue) = 21+46+77=144 (19% of max value = 765). Red value is 21 (8.59% from 255 or 14.58% from 144); Green value is 46 (18.36% from 255 or 31.94% from 144); Blue value is 77 (30.47% from 255 or 53.47% from 144); Max value from RGB is 77 - color contains mainly: blue. Hex color #152E4D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152E4D is #EAD1B2. Grayscale: #292929. Windows color (decimal): -15389107 or 5058069. OLE color: 5058069.
HSL color Cylindrical-coordinate representation of color #152E4D: hue angle of 213.21º degrees, saturation: 0.57, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.3% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #152E4D is Cyan = 0.73, Magento = 0.40, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 21 | 46 | 77 | - |
| CMYK | 0.73 | 0.40 | 0 | 0.70 |
| HSL | 213.21º | 0.57% | 0.19% | - |
| HSV(B) | 213.21º | 0.73% | 0.3% | - |
| XYZ | 2.63 | 2.65 | 7.39 | - |
| YUV | 42.06 | 147.72 | 112.98 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 46 | 77 | 0.73 | 0.40 | 0 | 0.70 | 213.21 | 0.57 | 0.19 |
| Hex | 15 | 2E | 4D | 49 | 28 | 0 | 46 | D5 | 39 | 13 |
| Octal | 25 | 56 | 115 | 111 | 50 | 0 | 106 | 325 | 71 | 23 |
| Binary | 10101 | 101110 | 1001101 | 1001001 | 101000 | 0 | 1000110 | 11010101 | 111001 | 10011 |
Color Harmonies of #152E4D
Complementary color
Monochromatic Colors of #152E4D
Black with #152E4D
Text Example
Text Example
White with #152E4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152E4D; }
p { color: rgb(21,46,77); }
H1.HeaderClassName
{
color: #152E4D;
}
.AnyTagClassName
{
color: #152E4D;
}
</style>
background-color css
<style>
a { background-color: #152E4D; }
a { background-color: rgb(21,46,77); }
div.DivClassName
{
background-color: #152E4D;
}
.BgClassName
{
background-color: #152E4D;
}
</style>
border-color css
<style>
span { border-color: #152E4D; }
span { border-color: rgb(21,46,77); }
td.TdClassName
{
border-color: #152E4D;
}
.TagClassName
{
border-color: #152E4D;
}
</style>