Shades of Midnight #152746
Tints of Midnight #152746
RGB
CMYK
RGB Variations
Color information
#152746 (or 0x152746) is known color: Midnight. HEX triplet: 15, 27 and 46. RGB value is (21,39,70). Sum of RGB (Red+Green+Blue) = 21+39+70=130 (17% of max value = 765). Red value is 21 (8.59% from 255 or 16.15% from 130); Green value is 39 (15.62% from 255 or 30% from 130); Blue value is 70 (27.73% from 255 or 53.85% from 130); Max value from RGB is 70 - color contains mainly: blue. Hex color #152746 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152746 is #EAD8B9. Grayscale: #252525. Windows color (decimal): -15390906 or 4597525. OLE color: 4597525.
HSL color Cylindrical-coordinate representation of color #152746: hue angle of 217.96º 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 #152746 is Cyan = 0.70, Magento = 0.44, Yellow = 0 and Black (K on CMYK) = 0.73.
Color convert
| RGB | 21 | 39 | 70 | - |
| CMYK | 0.70 | 0.44 | 0 | 0.73 |
| HSL | 217.96º | 0.54% | 0.18% | - |
| HSV(B) | 217.96º | 0.7% | 0.27% | - |
| XYZ | 2.14 | 2.05 | 6.08 | - |
| YUV | 37.15 | 146.54 | 116.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 39 | 70 | 0.70 | 0.44 | 0 | 0.73 | 217.96 | 0.54 | 0.18 |
| Hex | 15 | 27 | 46 | 46 | 2C | 0 | 49 | DA | 36 | 12 |
| Octal | 25 | 47 | 106 | 106 | 54 | 0 | 111 | 332 | 66 | 22 |
| Binary | 10101 | 100111 | 1000110 | 1000110 | 101100 | 0 | 1001001 | 11011010 | 110110 | 10010 |
Color Harmonies of #152746
Complementary color
Monochromatic Colors of #152746
Black with #152746
Text Example
Text Example
White with #152746
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152746; }
p { color: rgb(21,39,70); }
H1.HeaderClassName
{
color: #152746;
}
.AnyTagClassName
{
color: #152746;
}
</style>
background-color css
<style>
a { background-color: #152746; }
a { background-color: rgb(21,39,70); }
div.DivClassName
{
background-color: #152746;
}
.BgClassName
{
background-color: #152746;
}
</style>
border-color css
<style>
span { border-color: #152746; }
span { border-color: rgb(21,39,70); }
td.TdClassName
{
border-color: #152746;
}
.TagClassName
{
border-color: #152746;
}
</style>