Shades of Midnight #152E4F
Tints of Midnight #152E4F
RGB
CMYK
RGB Variations
Color information
#152E4F (or 0x152E4F) is known color: Midnight. HEX triplet: 15, 2E and 4F. RGB value is (21,46,79). Sum of RGB (Red+Green+Blue) = 21+46+79=146 (19% of max value = 765). Red value is 21 (8.59% from 255 or 14.38% from 146); Green value is 46 (18.36% from 255 or 31.51% from 146); Blue value is 79 (31.25% from 255 or 54.11% from 146); Max value from RGB is 79 - color contains mainly: blue. Hex color #152E4F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152E4F is #EAD1B0. Grayscale: #2A2A2A. Windows color (decimal): -15389105 or 5189141. OLE color: 5189141.
HSL color Cylindrical-coordinate representation of color #152E4F: hue angle of 214.14º degrees, saturation: 0.58, lightness: 0.2%. HSV value (or HSB Brightness) of color is 0.31% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #152E4F is Cyan = 0.73, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 21 | 46 | 79 | - |
| CMYK | 0.73 | 0.42 | 0 | 0.69 |
| HSL | 214.14º | 0.58% | 0.2% | - |
| HSV(B) | 214.14º | 0.73% | 0.31% | - |
| XYZ | 2.7 | 2.68 | 7.77 | - |
| YUV | 42.29 | 148.72 | 112.82 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 46 | 79 | 0.73 | 0.42 | 0 | 0.69 | 214.14 | 0.58 | 0.2 |
| Hex | 15 | 2E | 4F | 49 | 2A | 0 | 45 | D6 | 3A | 14 |
| Octal | 25 | 56 | 117 | 111 | 52 | 0 | 105 | 326 | 72 | 24 |
| Binary | 10101 | 101110 | 1001111 | 1001001 | 101010 | 0 | 1000101 | 11010110 | 111010 | 10100 |
Color Harmonies of #152E4F
Complementary color
Monochromatic Colors of #152E4F
Black with #152E4F
Text Example
Text Example
White with #152E4F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152E4F; }
p { color: rgb(21,46,79); }
H1.HeaderClassName
{
color: #152E4F;
}
.AnyTagClassName
{
color: #152E4F;
}
</style>
background-color css
<style>
a { background-color: #152E4F; }
a { background-color: rgb(21,46,79); }
div.DivClassName
{
background-color: #152E4F;
}
.BgClassName
{
background-color: #152E4F;
}
</style>
border-color css
<style>
span { border-color: #152E4F; }
span { border-color: rgb(21,46,79); }
td.TdClassName
{
border-color: #152E4F;
}
.TagClassName
{
border-color: #152E4F;
}
</style>