Shades of Midnight #152D49
Tints of Midnight #152D49
RGB
CMYK
RGB Variations
Color information
#152D49 (or 0x152D49) is known color: Midnight. HEX triplet: 15, 2D and 49. RGB value is (21,45,73). Sum of RGB (Red+Green+Blue) = 21+45+73=139 (18% of max value = 765). Red value is 21 (8.59% from 255 or 15.11% from 139); Green value is 45 (17.97% from 255 or 32.37% from 139); Blue value is 73 (28.91% from 255 or 52.52% from 139); Max value from RGB is 73 - color contains mainly: blue. Hex color #152D49 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152D49 is #EAD2B6. Grayscale: #282828. Windows color (decimal): -15389367 or 4795669. OLE color: 4795669.
HSL color Cylindrical-coordinate representation of color #152D49: hue angle of 212.31º degrees, saturation: 0.55, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #152D49 is Cyan = 0.71, Magento = 0.38, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 21 | 45 | 73 | - |
| CMYK | 0.71 | 0.38 | 0 | 0.71 |
| HSL | 212.31º | 0.55% | 0.18% | - |
| HSV(B) | 212.31º | 0.71% | 0.29% | - |
| XYZ | 2.45 | 2.52 | 6.66 | - |
| YUV | 41.02 | 146.05 | 113.72 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 45 | 73 | 0.71 | 0.38 | 0 | 0.71 | 212.31 | 0.55 | 0.18 |
| Hex | 15 | 2D | 49 | 47 | 26 | 0 | 47 | D4 | 37 | 12 |
| Octal | 25 | 55 | 111 | 107 | 46 | 0 | 107 | 324 | 67 | 22 |
| Binary | 10101 | 101101 | 1001001 | 1000111 | 100110 | 0 | 1000111 | 11010100 | 110111 | 10010 |
Color Harmonies of #152D49
Complementary color
Monochromatic Colors of #152D49
Black with #152D49
Text Example
Text Example
White with #152D49
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152D49; }
p { color: rgb(21,45,73); }
H1.HeaderClassName
{
color: #152D49;
}
.AnyTagClassName
{
color: #152D49;
}
</style>
background-color css
<style>
a { background-color: #152D49; }
a { background-color: rgb(21,45,73); }
div.DivClassName
{
background-color: #152D49;
}
.BgClassName
{
background-color: #152D49;
}
</style>
border-color css
<style>
span { border-color: #152D49; }
span { border-color: rgb(21,45,73); }
td.TdClassName
{
border-color: #152D49;
}
.TagClassName
{
border-color: #152D49;
}
</style>