Shades of Midnight #152D4A
Tints of Midnight #152D4A
RGB
CMYK
RGB Variations
Color information
#152D4A (or 0x152D4A) is known color: Midnight. HEX triplet: 15, 2D and 4A. RGB value is (21,45,74). Sum of RGB (Red+Green+Blue) = 21+45+74=140 (18% of max value = 765). Red value is 21 (8.59% from 255 or 15% from 140); Green value is 45 (17.97% from 255 or 32.14% from 140); Blue value is 74 (29.30% from 255 or 52.86% from 140); Max value from RGB is 74 - color contains mainly: blue. Hex color #152D4A is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152D4A is #EAD2B5. Grayscale: #282828. Windows color (decimal): -15389366 or 4861205. OLE color: 4861205.
HSL color Cylindrical-coordinate representation of color #152D4A: hue angle of 212.83º degrees, saturation: 0.56, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #152D4A is Cyan = 0.72, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 21 | 45 | 74 | - |
| CMYK | 0.72 | 0.39 | 0 | 0.71 |
| HSL | 212.83º | 0.56% | 0.19% | - |
| HSV(B) | 212.83º | 0.72% | 0.29% | - |
| XYZ | 2.48 | 2.53 | 6.84 | - |
| YUV | 41.13 | 146.55 | 113.64 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 45 | 74 | 0.72 | 0.39 | 0 | 0.71 | 212.83 | 0.56 | 0.19 |
| Hex | 15 | 2D | 4A | 48 | 27 | 0 | 47 | D5 | 38 | 13 |
| Octal | 25 | 55 | 112 | 110 | 47 | 0 | 107 | 325 | 70 | 23 |
| Binary | 10101 | 101101 | 1001010 | 1001000 | 100111 | 0 | 1000111 | 11010101 | 111000 | 10011 |
Color Harmonies of #152D4A
Complementary color
Monochromatic Colors of #152D4A
Black with #152D4A
Text Example
Text Example
White with #152D4A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152D4A; }
p { color: rgb(21,45,74); }
H1.HeaderClassName
{
color: #152D4A;
}
.AnyTagClassName
{
color: #152D4A;
}
</style>
background-color css
<style>
a { background-color: #152D4A; }
a { background-color: rgb(21,45,74); }
div.DivClassName
{
background-color: #152D4A;
}
.BgClassName
{
background-color: #152D4A;
}
</style>
border-color css
<style>
span { border-color: #152D4A; }
span { border-color: rgb(21,45,74); }
td.TdClassName
{
border-color: #152D4A;
}
.TagClassName
{
border-color: #152D4A;
}
</style>