Shades of Midnight #152B45
Tints of Midnight #152B45
RGB
CMYK
RGB Variations
Color information
#152B45 (or 0x152B45) is known color: Midnight. HEX triplet: 15, 2B and 45. RGB value is (21,43,69). Sum of RGB (Red+Green+Blue) = 21+43+69=133 (17% of max value = 765). Red value is 21 (8.59% from 255 or 15.79% from 133); Green value is 43 (17.19% from 255 or 32.33% from 133); Blue value is 69 (27.34% from 255 or 51.88% from 133); Max value from RGB is 69 - color contains mainly: blue. Hex color #152B45 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152B45 is #EAD4BA. Grayscale: #272727. Windows color (decimal): -15389883 or 4533013. OLE color: 4533013.
HSL color Cylindrical-coordinate representation of color #152B45: hue angle of 212.5º 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 #152B45 is Cyan = 0.70, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 21 | 43 | 69 | - |
| CMYK | 0.70 | 0.38 | 0 | 0.73 |
| HSL | 212.5º | 0.53% | 0.18% | - |
| HSV(B) | 212.5º | 0.7% | 0.27% | - |
| XYZ | 2.25 | 2.32 | 5.96 | - |
| YUV | 39.39 | 144.71 | 114.89 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 43 | 69 | 0.70 | 0.38 | 0 | 0.73 | 212.5 | 0.53 | 0.18 |
| Hex | 15 | 2B | 45 | 46 | 26 | 0 | 49 | D4 | 35 | 12 |
| Octal | 25 | 53 | 105 | 106 | 46 | 0 | 111 | 324 | 65 | 22 |
| Binary | 10101 | 101011 | 1000101 | 1000110 | 100110 | 0 | 1001001 | 11010100 | 110101 | 10010 |
Color Harmonies of #152B45
Complementary color
Monochromatic Colors of #152B45
Black with #152B45
Text Example
Text Example
White with #152B45
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152B45; }
p { color: rgb(21,43,69); }
H1.HeaderClassName
{
color: #152B45;
}
.AnyTagClassName
{
color: #152B45;
}
</style>
background-color css
<style>
a { background-color: #152B45; }
a { background-color: rgb(21,43,69); }
div.DivClassName
{
background-color: #152B45;
}
.BgClassName
{
background-color: #152B45;
}
</style>
border-color css
<style>
span { border-color: #152B45; }
span { border-color: rgb(21,43,69); }
td.TdClassName
{
border-color: #152B45;
}
.TagClassName
{
border-color: #152B45;
}
</style>