Shades of Midnight #152D4D
Tints of Midnight #152D4D
RGB
CMYK
RGB Variations
Color information
#152D4D (or 0x152D4D) is known color: Midnight. HEX triplet: 15, 2D and 4D. RGB value is (21,45,77). Sum of RGB (Red+Green+Blue) = 21+45+77=143 (18% of max value = 765). Red value is 21 (8.59% from 255 or 14.69% from 143); Green value is 45 (17.97% from 255 or 31.47% from 143); Blue value is 77 (30.47% from 255 or 53.85% from 143); Max value from RGB is 77 - color contains mainly: blue. Hex color #152D4D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152D4D is #EAD2B2. Grayscale: #292929. Windows color (decimal): -15389363 or 5057813. OLE color: 5057813.
HSL color Cylindrical-coordinate representation of color #152D4D: hue angle of 214.29º 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 #152D4D is Cyan = 0.73, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 21 | 45 | 77 | - |
| CMYK | 0.73 | 0.42 | 0 | 0.70 |
| HSL | 214.29º | 0.57% | 0.19% | - |
| HSV(B) | 214.29º | 0.73% | 0.3% | - |
| XYZ | 2.59 | 2.57 | 7.38 | - |
| YUV | 41.47 | 148.05 | 113.4 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 45 | 77 | 0.73 | 0.42 | 0 | 0.70 | 214.29 | 0.57 | 0.19 |
| Hex | 15 | 2D | 4D | 49 | 2A | 0 | 46 | D6 | 39 | 13 |
| Octal | 25 | 55 | 115 | 111 | 52 | 0 | 106 | 326 | 71 | 23 |
| Binary | 10101 | 101101 | 1001101 | 1001001 | 101010 | 0 | 1000110 | 11010110 | 111001 | 10011 |
Color Harmonies of #152D4D
Complementary color
Monochromatic Colors of #152D4D
Black with #152D4D
Text Example
Text Example
White with #152D4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152D4D; }
p { color: rgb(21,45,77); }
H1.HeaderClassName
{
color: #152D4D;
}
.AnyTagClassName
{
color: #152D4D;
}
</style>
background-color css
<style>
a { background-color: #152D4D; }
a { background-color: rgb(21,45,77); }
div.DivClassName
{
background-color: #152D4D;
}
.BgClassName
{
background-color: #152D4D;
}
</style>
border-color css
<style>
span { border-color: #152D4D; }
span { border-color: rgb(21,45,77); }
td.TdClassName
{
border-color: #152D4D;
}
.TagClassName
{
border-color: #152D4D;
}
</style>