Shades of Midnight #152C46
Tints of Midnight #152C46
RGB
CMYK
RGB Variations
Color information
#152C46 (or 0x152C46) is known color: Midnight. HEX triplet: 15, 2C and 46. RGB value is (21,44,70). Sum of RGB (Red+Green+Blue) = 21+44+70=135 (17% of max value = 765). Red value is 21 (8.59% from 255 or 15.56% from 135); Green value is 44 (17.58% from 255 or 32.59% from 135); Blue value is 70 (27.73% from 255 or 51.85% from 135); Max value from RGB is 70 - color contains mainly: blue. Hex color #152C46 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152C46 is #EAD3B9. Grayscale: #272727. Windows color (decimal): -15389626 or 4598805. OLE color: 4598805.
HSL color Cylindrical-coordinate representation of color #152C46: hue angle of 211.84º 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 #152C46 is Cyan = 0.70, Magento = 0.37, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 21 | 44 | 70 | - |
| CMYK | 0.70 | 0.37 | 0 | 0.73 |
| HSL | 211.84º | 0.54% | 0.18% | - |
| HSV(B) | 211.84º | 0.7% | 0.27% | - |
| XYZ | 2.32 | 2.4 | 6.14 | - |
| YUV | 40.09 | 144.88 | 114.39 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 44 | 70 | 0.70 | 0.37 | 0 | 0.73 | 211.84 | 0.54 | 0.18 |
| Hex | 15 | 2C | 46 | 46 | 25 | 0 | 49 | D4 | 36 | 12 |
| Octal | 25 | 54 | 106 | 106 | 45 | 0 | 111 | 324 | 66 | 22 |
| Binary | 10101 | 101100 | 1000110 | 1000110 | 100101 | 0 | 1001001 | 11010100 | 110110 | 10010 |
Color Harmonies of #152C46
Complementary color
Monochromatic Colors of #152C46
Black with #152C46
Text Example
Text Example
White with #152C46
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152C46; }
p { color: rgb(21,44,70); }
H1.HeaderClassName
{
color: #152C46;
}
.AnyTagClassName
{
color: #152C46;
}
</style>
background-color css
<style>
a { background-color: #152C46; }
a { background-color: rgb(21,44,70); }
div.DivClassName
{
background-color: #152C46;
}
.BgClassName
{
background-color: #152C46;
}
</style>
border-color css
<style>
span { border-color: #152C46; }
span { border-color: rgb(21,44,70); }
td.TdClassName
{
border-color: #152C46;
}
.TagClassName
{
border-color: #152C46;
}
</style>