Shades of Midnight #152D46
Tints of Midnight #152D46
RGB
CMYK
RGB Variations
Color information
#152D46 (or 0x152D46) is known color: Midnight. HEX triplet: 15, 2D and 46. RGB value is (21,45,70). Sum of RGB (Red+Green+Blue) = 21+45+70=136 (18% of max value = 765). Red value is 21 (8.59% from 255 or 15.44% from 136); Green value is 45 (17.97% from 255 or 33.09% from 136); Blue value is 70 (27.73% from 255 or 51.47% from 136); Max value from RGB is 70 - color contains mainly: blue. Hex color #152D46 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152D46 is #EAD2B9. Grayscale: #282828. Windows color (decimal): -15389370 or 4599061. OLE color: 4599061.
HSL color Cylindrical-coordinate representation of color #152D46: hue angle of 210.61º degrees, saturation: 0.54, 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 #152D46 is Cyan = 0.70, Magento = 0.36, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 21 | 45 | 70 | - |
| CMYK | 0.70 | 0.36 | 0 | 0.73 |
| HSL | 210.61º | 0.54% | 0.18% | - |
| HSV(B) | 210.61º | 0.7% | 0.27% | - |
| XYZ | 2.35 | 2.48 | 6.15 | - |
| YUV | 40.67 | 144.55 | 113.97 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 45 | 70 | 0.70 | 0.36 | 0 | 0.73 | 210.61 | 0.54 | 0.18 |
| Hex | 15 | 2D | 46 | 46 | 24 | 0 | 49 | D3 | 36 | 12 |
| Octal | 25 | 55 | 106 | 106 | 44 | 0 | 111 | 323 | 66 | 22 |
| Binary | 10101 | 101101 | 1000110 | 1000110 | 100100 | 0 | 1001001 | 11010011 | 110110 | 10010 |
Color Harmonies of #152D46
Complementary color
Monochromatic Colors of #152D46
Black with #152D46
Text Example
Text Example
White with #152D46
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152D46; }
p { color: rgb(21,45,70); }
H1.HeaderClassName
{
color: #152D46;
}
.AnyTagClassName
{
color: #152D46;
}
</style>
background-color css
<style>
a { background-color: #152D46; }
a { background-color: rgb(21,45,70); }
div.DivClassName
{
background-color: #152D46;
}
.BgClassName
{
background-color: #152D46;
}
</style>
border-color css
<style>
span { border-color: #152D46; }
span { border-color: rgb(21,45,70); }
td.TdClassName
{
border-color: #152D46;
}
.TagClassName
{
border-color: #152D46;
}
</style>