Shades of Midnight #152948
Tints of Midnight #152948
RGB
CMYK
RGB Variations
Color information
#152948 (or 0x152948) is known color: Midnight. HEX triplet: 15, 29 and 48. RGB value is (21,41,72). Sum of RGB (Red+Green+Blue) = 21+41+72=134 (17% of max value = 765). Red value is 21 (8.59% from 255 or 15.67% from 134); Green value is 41 (16.41% from 255 or 30.60% from 134); Blue value is 72 (28.52% from 255 or 53.73% from 134); Max value from RGB is 72 - color contains mainly: blue. Hex color #152948 is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152948 is #EAD6B7. Grayscale: #262626. Windows color (decimal): -15390392 or 4729109. OLE color: 4729109.
HSL color Cylindrical-coordinate representation of color #152948: hue angle of 216.47º degrees, saturation: 0.55, lightness: 0.18%. HSV value (or HSB Brightness) of color is 0.28% and HSV saturation: 0.71%. Process color model (Four color, CMYK) of #152948 is Cyan = 0.71, Magento = 0.43, Yellow = 0 and Black (K on CMYK) = 0.72.
Color convert
| RGB | 21 | 41 | 72 | - |
| CMYK | 0.71 | 0.43 | 0 | 0.72 |
| HSL | 216.47º | 0.55% | 0.18% | - |
| HSV(B) | 216.47º | 0.71% | 0.28% | - |
| XYZ | 2.27 | 2.21 | 6.44 | - |
| YUV | 38.55 | 146.87 | 115.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 41 | 72 | 0.71 | 0.43 | 0 | 0.72 | 216.47 | 0.55 | 0.18 |
| Hex | 15 | 29 | 48 | 47 | 2B | 0 | 48 | D8 | 37 | 12 |
| Octal | 25 | 51 | 110 | 107 | 53 | 0 | 110 | 330 | 67 | 22 |
| Binary | 10101 | 101001 | 1001000 | 1000111 | 101011 | 0 | 1001000 | 11011000 | 110111 | 10010 |
Color Harmonies of #152948
Complementary color
Monochromatic Colors of #152948
Black with #152948
Text Example
Text Example
White with #152948
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152948; }
p { color: rgb(21,41,72); }
H1.HeaderClassName
{
color: #152948;
}
.AnyTagClassName
{
color: #152948;
}
</style>
background-color css
<style>
a { background-color: #152948; }
a { background-color: rgb(21,41,72); }
div.DivClassName
{
background-color: #152948;
}
.BgClassName
{
background-color: #152948;
}
</style>
border-color css
<style>
span { border-color: #152948; }
span { border-color: rgb(21,41,72); }
td.TdClassName
{
border-color: #152948;
}
.TagClassName
{
border-color: #152948;
}
</style>