Shades of Midnight #152E4B
Tints of Midnight #152E4B
RGB
CMYK
RGB Variations
Color information
#152E4B (or 0x152E4B) is known color: Midnight. HEX triplet: 15, 2E and 4B. RGB value is (21,46,75). Sum of RGB (Red+Green+Blue) = 21+46+75=142 (18% of max value = 765). Red value is 21 (8.59% from 255 or 14.79% from 142); Green value is 46 (18.36% from 255 or 32.39% from 142); Blue value is 75 (29.69% from 255 or 52.82% from 142); Max value from RGB is 75 - color contains mainly: blue. Hex color #152E4B is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152E4B is #EAD1B4. Grayscale: #292929. Windows color (decimal): -15389109 or 4926997. OLE color: 4926997.
HSL color Cylindrical-coordinate representation of color #152E4B: hue angle of 212.22º degrees, saturation: 0.56, lightness: 0.19%. HSV value (or HSB Brightness) of color is 0.29% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #152E4B is Cyan = 0.72, Magento = 0.39, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 21 | 46 | 75 | - |
| CMYK | 0.72 | 0.39 | 0 | 0.71 |
| HSL | 212.22º | 0.56% | 0.19% | - |
| HSV(B) | 212.22º | 0.72% | 0.29% | - |
| XYZ | 2.56 | 2.62 | 7.03 | - |
| YUV | 41.83 | 146.72 | 113.14 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 46 | 75 | 0.72 | 0.39 | 0 | 0.71 | 212.22 | 0.56 | 0.19 |
| Hex | 15 | 2E | 4B | 48 | 27 | 0 | 47 | D4 | 38 | 13 |
| Octal | 25 | 56 | 113 | 110 | 47 | 0 | 107 | 324 | 70 | 23 |
| Binary | 10101 | 101110 | 1001011 | 1001000 | 100111 | 0 | 1000111 | 11010100 | 111000 | 10011 |
Color Harmonies of #152E4B
Complementary color
Monochromatic Colors of #152E4B
Black with #152E4B
Text Example
Text Example
White with #152E4B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152E4B; }
p { color: rgb(21,46,75); }
H1.HeaderClassName
{
color: #152E4B;
}
.AnyTagClassName
{
color: #152E4B;
}
</style>
background-color css
<style>
a { background-color: #152E4B; }
a { background-color: rgb(21,46,75); }
div.DivClassName
{
background-color: #152E4B;
}
.BgClassName
{
background-color: #152E4B;
}
</style>
border-color css
<style>
span { border-color: #152E4B; }
span { border-color: rgb(21,46,75); }
td.TdClassName
{
border-color: #152E4B;
}
.TagClassName
{
border-color: #152E4B;
}
</style>