Shades of Midnight #152A44
Tints of Midnight #152A44
RGB
CMYK
RGB Variations
Color information
#152A44 (or 0x152A44) is known color: Midnight. HEX triplet: 15, 2A and 44. RGB value is (21,42,68). Sum of RGB (Red+Green+Blue) = 21+42+68=131 (17% of max value = 765). Red value is 21 (8.59% from 255 or 16.03% from 131); Green value is 42 (16.80% from 255 or 32.06% from 131); Blue value is 68 (26.95% from 255 or 51.91% from 131); Max value from RGB is 68 - color contains mainly: blue. Hex color #152A44 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152A44 is #EAD5BB. Grayscale: #262626. Windows color (decimal): -15390140 or 4467221. OLE color: 4467221.
HSL color Cylindrical-coordinate representation of color #152A44: hue angle of 213.19º degrees, saturation: 0.53, lightness: 0.17%. HSV value (or HSB Brightness) of color is 0.27% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #152A44 is Cyan = 0.69, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 21 | 42 | 68 | - |
| CMYK | 0.69 | 0.38 | 0 | 0.73 |
| HSL | 213.19º | 0.53% | 0.17% | - |
| HSV(B) | 213.19º | 0.69% | 0.27% | - |
| XYZ | 2.18 | 2.23 | 5.78 | - |
| YUV | 38.69 | 144.54 | 115.39 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 68 | 0.69 | 0.38 | 0 | 0.73 | 213.19 | 0.53 | 0.17 |
| Hex | 15 | 2A | 44 | 45 | 26 | 0 | 49 | D5 | 35 | 11 |
| Octal | 25 | 52 | 104 | 105 | 46 | 0 | 111 | 325 | 65 | 21 |
| Binary | 10101 | 101010 | 1000100 | 1000101 | 100110 | 0 | 1001001 | 11010101 | 110101 | 10001 |
Color Harmonies of #152A44
Complementary color
Monochromatic Colors of #152A44
Black with #152A44
Text Example
Text Example
White with #152A44
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A44; }
p { color: rgb(21,42,68); }
H1.HeaderClassName
{
color: #152A44;
}
.AnyTagClassName
{
color: #152A44;
}
</style>
background-color css
<style>
a { background-color: #152A44; }
a { background-color: rgb(21,42,68); }
div.DivClassName
{
background-color: #152A44;
}
.BgClassName
{
background-color: #152A44;
}
</style>
border-color css
<style>
span { border-color: #152A44; }
span { border-color: rgb(21,42,68); }
td.TdClassName
{
border-color: #152A44;
}
.TagClassName
{
border-color: #152A44;
}
</style>