Shades of Midnight Blue #20156C
Tints of Midnight Blue #20156C
RGB
CMYK
RGB Variations
Color information
#20156C (or 0x20156C) is known color: Midnight Blue. HEX triplet: 20, 15 and 6C. RGB value is (32,21,108). Sum of RGB (Red+Green+Blue) = 32+21+108=161 (21% of max value = 765). Red value is 32 (12.89% from 255 or 19.88% from 161); Green value is 21 (8.59% from 255 or 13.04% from 161); Blue value is 108 (42.58% from 255 or 67.08% from 161); Max value from RGB is 108 - color contains mainly: blue. Hex color #20156C is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20156C is #DFEA93. Grayscale: #212121. Windows color (decimal): -14674580 or 7083296. OLE color: 7083296.
HSL color Cylindrical-coordinate representation of color #20156C: hue angle of 247.59º degrees, saturation: 0.67, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #20156C is Cyan = 0.70, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 32 | 21 | 108 | - |
| CMYK | 0.70 | 0.81 | 0 | 0.58 |
| HSL | 247.59º | 0.67% | 0.25% | - |
| HSV(B) | 247.59º | 0.81% | 0.42% | - |
| XYZ | 3.57 | 1.93 | 14.37 | - |
| YUV | 34.21 | 169.64 | 126.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 21 | 108 | 0.70 | 0.81 | 0 | 0.58 | 247.59 | 0.67 | 0.25 |
| Hex | 20 | 15 | 6C | 46 | 51 | 0 | 3A | F8 | 43 | 19 |
| Octal | 40 | 25 | 154 | 106 | 121 | 0 | 72 | 370 | 103 | 31 |
| Binary | 100000 | 10101 | 1101100 | 1000110 | 1010001 | 0 | 111010 | 11111000 | 1000011 | 11001 |
Color Harmonies of #20156C
Complementary color
Monochromatic Colors of #20156C
Black with #20156C
Text Example
Text Example
White with #20156C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20156C; }
p { color: rgb(32,21,108); }
H1.HeaderClassName
{
color: #20156C;
}
.AnyTagClassName
{
color: #20156C;
}
</style>
background-color css
<style>
a { background-color: #20156C; }
a { background-color: rgb(32,21,108); }
div.DivClassName
{
background-color: #20156C;
}
.BgClassName
{
background-color: #20156C;
}
</style>
border-color css
<style>
span { border-color: #20156C; }
span { border-color: rgb(32,21,108); }
td.TdClassName
{
border-color: #20156C;
}
.TagClassName
{
border-color: #20156C;
}
</style>