Shades of Midnight #152D4F
Tints of Midnight #152D4F
RGB
CMYK
RGB Variations
Color information
#152D4F (or 0x152D4F) is known color: Midnight. HEX triplet: 15, 2D and 4F. RGB value is (21,45,79). Sum of RGB (Red+Green+Blue) = 21+45+79=145 (19% of max value = 765). Red value is 21 (8.59% from 255 or 14.48% from 145); Green value is 45 (17.97% from 255 or 31.03% from 145); Blue value is 79 (31.25% from 255 or 54.48% from 145); Max value from RGB is 79 - color contains mainly: blue. Hex color #152D4F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152D4F is #EAD2B0. Grayscale: #292929. Windows color (decimal): -15389361 or 5188885. OLE color: 5188885.
HSL color Cylindrical-coordinate representation of color #152D4F: hue angle of 215.17º degrees, saturation: 0.58, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #152D4F is Cyan = 0.73, Magento = 0.43, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 21 | 45 | 79 | - |
| CMYK | 0.73 | 0.43 | 0 | 0.69 |
| HSL | 215.17º | 0.58% | 0.2% | - |
| HSV(B) | 215.17º | 0.73% | 0.31% | - |
| XYZ | 2.66 | 2.6 | 7.76 | - |
| YUV | 41.7 | 149.05 | 113.24 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 45 | 79 | 0.73 | 0.43 | 0 | 0.69 | 215.17 | 0.58 | 0.2 |
| Hex | 15 | 2D | 4F | 49 | 2B | 0 | 45 | D7 | 3A | 14 |
| Octal | 25 | 55 | 117 | 111 | 53 | 0 | 105 | 327 | 72 | 24 |
| Binary | 10101 | 101101 | 1001111 | 1001001 | 101011 | 0 | 1000101 | 11010111 | 111010 | 10100 |
Color Harmonies of #152D4F
Complementary color
Monochromatic Colors of #152D4F
Black with #152D4F
Text Example
Text Example
White with #152D4F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152D4F; }
p { color: rgb(21,45,79); }
H1.HeaderClassName
{
color: #152D4F;
}
.AnyTagClassName
{
color: #152D4F;
}
</style>
background-color css
<style>
a { background-color: #152D4F; }
a { background-color: rgb(21,45,79); }
div.DivClassName
{
background-color: #152D4F;
}
.BgClassName
{
background-color: #152D4F;
}
</style>
border-color css
<style>
span { border-color: #152D4F; }
span { border-color: rgb(21,45,79); }
td.TdClassName
{
border-color: #152D4F;
}
.TagClassName
{
border-color: #152D4F;
}
</style>