Shades of Midnight #152B4A
Tints of Midnight #152B4A
RGB
CMYK
RGB Variations
Color information
#152B4A (or 0x152B4A) is known color: Midnight. HEX triplet: 15, 2B and 4A. RGB value is (21,43,74). Sum of RGB (Red+Green+Blue) = 21+43+74=138 (18% of max value = 765). Red value is 21 (8.59% from 255 or 15.22% from 138); Green value is 43 (17.19% from 255 or 31.16% from 138); Blue value is 74 (29.30% from 255 or 53.62% from 138); Max value from RGB is 74 - color contains mainly: blue. Hex color #152B4A is not a web safe color. Web safe color analog (approx): #003333. Inversed color of #152B4A is #EAD4B5. Grayscale: #272727. Windows color (decimal): -15389878 or 4860693. OLE color: 4860693.
HSL color Cylindrical-coordinate representation of color #152B4A: hue angle of 215.09º 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 #152B4A is Cyan = 0.72, Magento = 0.42, Yellow = 0 and Black (K on CMYK) = 0.71.
Color convert
| RGB | 21 | 43 | 74 | - |
| CMYK | 0.72 | 0.42 | 0 | 0.71 |
| HSL | 215.09º | 0.56% | 0.19% | - |
| HSV(B) | 215.09º | 0.72% | 0.29% | - |
| XYZ | 2.41 | 2.38 | 6.81 | - |
| YUV | 39.96 | 147.21 | 114.48 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 21 | 43 | 74 | 0.72 | 0.42 | 0 | 0.71 | 215.09 | 0.56 | 0.19 |
| Hex | 15 | 2B | 4A | 48 | 2A | 0 | 47 | D7 | 38 | 13 |
| Octal | 25 | 53 | 112 | 110 | 52 | 0 | 107 | 327 | 70 | 23 |
| Binary | 10101 | 101011 | 1001010 | 1001000 | 101010 | 0 | 1000111 | 11010111 | 111000 | 10011 |
Color Harmonies of #152B4A
Complementary color
Monochromatic Colors of #152B4A
Black with #152B4A
Text Example
Text Example
White with #152B4A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #152B4A; }
p { color: rgb(21,43,74); }
H1.HeaderClassName
{
color: #152B4A;
}
.AnyTagClassName
{
color: #152B4A;
}
</style>
background-color css
<style>
a { background-color: #152B4A; }
a { background-color: rgb(21,43,74); }
div.DivClassName
{
background-color: #152B4A;
}
.BgClassName
{
background-color: #152B4A;
}
</style>
border-color css
<style>
span { border-color: #152B4A; }
span { border-color: rgb(21,43,74); }
td.TdClassName
{
border-color: #152B4A;
}
.TagClassName
{
border-color: #152B4A;
}
</style>