Shades of Midnight #152A4F
Tints of Midnight #152A4F
RGB
CMYK
RGB Variations
Color information
#152A4F (or 0x152A4F) is known color: Midnight. HEX triplet: 15, 2A and 4F. RGB value is (21,42,79). Sum of RGB (Red+Green+Blue) = 21+42+79=142 (18% of max value = 765). Red value is 21 (8.59% from 255 or 14.79% from 142); Green value is 42 (16.80% from 255 or 29.58% from 142); Blue value is 79 (31.25% from 255 or 55.63% from 142); Max value from RGB is 79 - color contains mainly: blue. Hex color #152A4F is not a web safe color. Web safe color analog (approx): #003366. Inversed color of #152A4F is #EAD5B0. Grayscale: #272727. Windows color (decimal): -15390129 or 5188117. OLE color: 5188117.
HSL color Cylindrical-coordinate representation of color #152A4F: hue angle of 218.28º 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 #152A4F is Cyan = 0.73, Magento = 0.47, Yellow = 0 and Black (K on CMYK) = 0.69.
Color convert
| RGB | 21 | 42 | 79 | - |
| CMYK | 0.73 | 0.47 | 0 | 0.69 |
| HSL | 218.28º | 0.58% | 0.2% | - |
| HSV(B) | 218.28º | 0.73% | 0.31% | - |
| XYZ | 2.55 | 2.38 | 7.72 | - |
| YUV | 39.94 | 150.04 | 114.49 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 42 | 79 | 0.73 | 0.47 | 0 | 0.69 | 218.28 | 0.58 | 0.2 |
| Hex | 15 | 2A | 4F | 49 | 2F | 0 | 45 | DA | 3A | 14 |
| Octal | 25 | 52 | 117 | 111 | 57 | 0 | 105 | 332 | 72 | 24 |
| Binary | 10101 | 101010 | 1001111 | 1001001 | 101111 | 0 | 1000101 | 11011010 | 111010 | 10100 |
Color Harmonies of #152A4F
Complementary color
Monochromatic Colors of #152A4F
Black with #152A4F
Text Example
Text Example
White with #152A4F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152A4F; }
p { color: rgb(21,42,79); }
H1.HeaderClassName
{
color: #152A4F;
}
.AnyTagClassName
{
color: #152A4F;
}
</style>
background-color css
<style>
a { background-color: #152A4F; }
a { background-color: rgb(21,42,79); }
div.DivClassName
{
background-color: #152A4F;
}
.BgClassName
{
background-color: #152A4F;
}
</style>
border-color css
<style>
span { border-color: #152A4F; }
span { border-color: rgb(21,42,79); }
td.TdClassName
{
border-color: #152A4F;
}
.TagClassName
{
border-color: #152A4F;
}
</style>