Shades of Midnight #152A4D
Tints of Midnight #152A4D
RGB
CMYK
RGB Variations
Color information
#152A4D (or 0x152A4D) is known color: Midnight. HEX triplet: 15, 2A and 4D. RGB value is (21,42,77). Sum of RGB (Red+Green+Blue) = 21+42+77=140 (18% of max value = 765). Red value is 21 (8.59% from 255 or 15% from 140); Green value is 42 (16.80% from 255 or 30% from 140); Blue value is 77 (30.47% from 255 or 55% from 140); Max value from RGB is 77 - color contains mainly: blue. Hex color #152A4D is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152A4D is #EAD5B2. Grayscale: #272727. Windows color (decimal): -15390131 or 5057045. OLE color: 5057045.
HSL color Cylindrical-coordinate representation of color #152A4D: hue angle of 217.5º 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 #152A4D is Cyan = 0.73, Magento = 0.45, Yellow = 0 and Black (K on CMYK) = 0.70.
Color convert
| RGB | 21 | 42 | 77 | - |
| CMYK | 0.73 | 0.45 | 0 | 0.70 |
| HSL | 217.5º | 0.57% | 0.19% | - |
| HSV(B) | 217.5º | 0.73% | 0.3% | - |
| XYZ | 2.48 | 2.35 | 7.34 | - |
| YUV | 39.71 | 149.04 | 114.65 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 77 | 0.73 | 0.45 | 0 | 0.70 | 217.5 | 0.57 | 0.19 |
| Hex | 15 | 2A | 4D | 49 | 2D | 0 | 46 | DA | 39 | 13 |
| Octal | 25 | 52 | 115 | 111 | 55 | 0 | 106 | 332 | 71 | 23 |
| Binary | 10101 | 101010 | 1001101 | 1001001 | 101101 | 0 | 1000110 | 11011010 | 111001 | 10011 |
Color Harmonies of #152A4D
Complementary color
Monochromatic Colors of #152A4D
Black with #152A4D
Text Example
Text Example
White with #152A4D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A4D; }
p { color: rgb(21,42,77); }
H1.HeaderClassName
{
color: #152A4D;
}
.AnyTagClassName
{
color: #152A4D;
}
</style>
background-color css
<style>
a { background-color: #152A4D; }
a { background-color: rgb(21,42,77); }
div.DivClassName
{
background-color: #152A4D;
}
.BgClassName
{
background-color: #152A4D;
}
</style>
border-color css
<style>
span { border-color: #152A4D; }
span { border-color: rgb(21,42,77); }
td.TdClassName
{
border-color: #152A4D;
}
.TagClassName
{
border-color: #152A4D;
}
</style>