Shades of Midnight Blue #20156B
Tints of Midnight Blue #20156B
RGB
CMYK
RGB Variations
Color information
#20156B (or 0x20156B) is known color: Midnight Blue. HEX triplet: 20, 15 and 6B. RGB value is (32,21,107). Sum of RGB (Red+Green+Blue) = 32+21+107=160 (21% of max value = 765). Red value is 32 (12.89% from 255 or 20% from 160); Green value is 21 (8.59% from 255 or 13.12% from 160); Blue value is 107 (42.19% from 255 or 66.88% from 160); Max value from RGB is 107 - color contains mainly: blue. Hex color #20156B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20156B is #DFEA94. Grayscale: #212121. Windows color (decimal): -14674581 or 7017760. OLE color: 7017760.
HSL color Cylindrical-coordinate representation of color #20156B: hue angle of 247.67º degrees, saturation: 0.67, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.8%. Process color model (Four color, CMYK) of #20156B is Cyan = 0.70, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 32 | 21 | 107 | - |
| CMYK | 0.70 | 0.80 | 0 | 0.58 |
| HSL | 247.67º | 0.67% | 0.25% | - |
| HSV(B) | 247.67º | 0.8% | 0.42% | - |
| XYZ | 3.52 | 1.9 | 14.09 | - |
| YUV | 34.09 | 169.14 | 126.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 21 | 107 | 0.70 | 0.80 | 0 | 0.58 | 247.67 | 0.67 | 0.25 |
| Hex | 20 | 15 | 6B | 46 | 50 | 0 | 3A | F8 | 43 | 19 |
| Octal | 40 | 25 | 153 | 106 | 120 | 0 | 72 | 370 | 103 | 31 |
| Binary | 100000 | 10101 | 1101011 | 1000110 | 1010000 | 0 | 111010 | 11111000 | 1000011 | 11001 |
Color Harmonies of #20156B
Complementary color
Monochromatic Colors of #20156B
Black with #20156B
Text Example
Text Example
White with #20156B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20156B; }
p { color: rgb(32,21,107); }
H1.HeaderClassName
{
color: #20156B;
}
.AnyTagClassName
{
color: #20156B;
}
</style>
background-color css
<style>
a { background-color: #20156B; }
a { background-color: rgb(32,21,107); }
div.DivClassName
{
background-color: #20156B;
}
.BgClassName
{
background-color: #20156B;
}
</style>
border-color css
<style>
span { border-color: #20156B; }
span { border-color: rgb(32,21,107); }
td.TdClassName
{
border-color: #20156B;
}
.TagClassName
{
border-color: #20156B;
}
</style>