Shades of Midnight #152A45
Tints of Midnight #152A45
RGB
CMYK
RGB Variations
Color information
#152A45 (or 0x152A45) is known color: Midnight. HEX triplet: 15, 2A and 45. RGB value is (21,42,69). Sum of RGB (Red+Green+Blue) = 21+42+69=132 (17% of max value = 765). Red value is 21 (8.59% from 255 or 15.91% from 132); Green value is 42 (16.80% from 255 or 31.82% from 132); Blue value is 69 (27.34% from 255 or 52.27% from 132); Max value from RGB is 69 - color contains mainly: blue. Hex color #152A45 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152A45 is #EAD5BA. Grayscale: #262626. Windows color (decimal): -15390139 or 4532757. OLE color: 4532757.
HSL color Cylindrical-coordinate representation of color #152A45: hue angle of 213.75º degrees, saturation: 0.53, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.27% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #152A45 is Cyan = 0.70, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 21 | 42 | 69 | - |
| CMYK | 0.70 | 0.39 | 0 | 0.73 |
| HSL | 213.75º | 0.53% | 0.18% | - |
| HSV(B) | 213.75º | 0.7% | 0.27% | - |
| XYZ | 2.21 | 2.25 | 5.95 | - |
| YUV | 38.8 | 145.04 | 115.3 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 69 | 0.70 | 0.39 | 0 | 0.73 | 213.75 | 0.53 | 0.18 |
| Hex | 15 | 2A | 45 | 46 | 27 | 0 | 49 | D6 | 35 | 12 |
| Octal | 25 | 52 | 105 | 106 | 47 | 0 | 111 | 326 | 65 | 22 |
| Binary | 10101 | 101010 | 1000101 | 1000110 | 100111 | 0 | 1001001 | 11010110 | 110101 | 10010 |
Color Harmonies of #152A45
Complementary color
Monochromatic Colors of #152A45
Black with #152A45
Text Example
Text Example
White with #152A45
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A45; }
p { color: rgb(21,42,69); }
H1.HeaderClassName
{
color: #152A45;
}
.AnyTagClassName
{
color: #152A45;
}
</style>
background-color css
<style>
a { background-color: #152A45; }
a { background-color: rgb(21,42,69); }
div.DivClassName
{
background-color: #152A45;
}
.BgClassName
{
background-color: #152A45;
}
</style>
border-color css
<style>
span { border-color: #152A45; }
span { border-color: rgb(21,42,69); }
td.TdClassName
{
border-color: #152A45;
}
.TagClassName
{
border-color: #152A45;
}
</style>