Shades of Midnight #152A4E
Tints of Midnight #152A4E
RGB
CMYK
RGB Variations
Color information
#152A4E (or 0x152A4E) is known color: Midnight. HEX triplet: 15, 2A and 4E. RGB value is (21,42,78). Sum of RGB (Red+Green+Blue) = 21+42+78=141 (18% of max value = 765). Red value is 21 (8.59% from 255 or 14.89% from 141); Green value is 42 (16.80% from 255 or 29.79% from 141); Blue value is 78 (30.86% from 255 or 55.32% from 141); Max value from RGB is 78 - color contains mainly: blue. Hex color #152A4E is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152A4E is #EAD5B1. Grayscale: #272727. Windows color (decimal): -15390130 or 5122581. OLE color: 5122581.
HSL color Cylindrical-coordinate representation of color #152A4E: hue angle of 217.89º degrees, saturation: 0.58, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #152A4E is Cyan = 0.73, Magento = 0.46, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 21 | 42 | 78 | - |
| CMYK | 0.73 | 0.46 | 0 | 0.69 |
| HSL | 217.89º | 0.58% | 0.19% | - |
| HSV(B) | 217.89º | 0.73% | 0.31% | - |
| XYZ | 2.51 | 2.37 | 7.53 | - |
| YUV | 39.83 | 149.54 | 114.57 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 78 | 0.73 | 0.46 | 0 | 0.69 | 217.89 | 0.58 | 0.19 |
| Hex | 15 | 2A | 4E | 49 | 2E | 0 | 45 | DA | 3A | 13 |
| Octal | 25 | 52 | 116 | 111 | 56 | 0 | 105 | 332 | 72 | 23 |
| Binary | 10101 | 101010 | 1001110 | 1001001 | 101110 | 0 | 1000101 | 11011010 | 111010 | 10011 |
Color Harmonies of #152A4E
Complementary color
Monochromatic Colors of #152A4E
Black with #152A4E
Text Example
Text Example
White with #152A4E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A4E; }
p { color: rgb(21,42,78); }
H1.HeaderClassName
{
color: #152A4E;
}
.AnyTagClassName
{
color: #152A4E;
}
</style>
background-color css
<style>
a { background-color: #152A4E; }
a { background-color: rgb(21,42,78); }
div.DivClassName
{
background-color: #152A4E;
}
.BgClassName
{
background-color: #152A4E;
}
</style>
border-color css
<style>
span { border-color: #152A4E; }
span { border-color: rgb(21,42,78); }
td.TdClassName
{
border-color: #152A4E;
}
.TagClassName
{
border-color: #152A4E;
}
</style>