Shades of Midnight Blue #20166C
Tints of Midnight Blue #20166C
RGB
CMYK
RGB Variations
Color information
#20166C (or 0x20166C) is known color: Midnight Blue. HEX triplet: 20, 16 and 6C. RGB value is (32,22,108). Sum of RGB (Red+Green+Blue) = 32+22+108=162 (21% of max value = 765). Red value is 32 (12.89% from 255 or 19.75% from 162); Green value is 22 (8.98% from 255 or 13.58% from 162); Blue value is 108 (42.58% from 255 or 66.67% from 162); Max value from RGB is 108 - color contains mainly: blue. Hex color #20166C is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20166C is #DFE993. Grayscale: #222222. Windows color (decimal): -14674324 or 7083552. OLE color: 7083552.
HSL color Cylindrical-coordinate representation of color #20166C: hue angle of 246.98º degrees, saturation: 0.66, 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 #20166C is Cyan = 0.70, Magento = 0.80, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 32 | 22 | 108 | - |
| CMYK | 0.70 | 0.80 | 0 | 0.58 |
| HSL | 246.98º | 0.66% | 0.25% | - |
| HSV(B) | 246.98º | 0.8% | 0.42% | - |
| XYZ | 3.59 | 1.96 | 14.38 | - |
| YUV | 34.79 | 169.31 | 126.01 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 22 | 108 | 0.70 | 0.80 | 0 | 0.58 | 246.98 | 0.66 | 0.25 |
| Hex | 20 | 16 | 6C | 46 | 50 | 0 | 3A | F7 | 42 | 19 |
| Octal | 40 | 26 | 154 | 106 | 120 | 0 | 72 | 367 | 102 | 31 |
| Binary | 100000 | 10110 | 1101100 | 1000110 | 1010000 | 0 | 111010 | 11110111 | 1000010 | 11001 |
Color Harmonies of #20166C
Complementary color
Monochromatic Colors of #20166C
Black with #20166C
Text Example
Text Example
White with #20166C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20166C; }
p { color: rgb(32,22,108); }
H1.HeaderClassName
{
color: #20166C;
}
.AnyTagClassName
{
color: #20166C;
}
</style>
background-color css
<style>
a { background-color: #20166C; }
a { background-color: rgb(32,22,108); }
div.DivClassName
{
background-color: #20166C;
}
.BgClassName
{
background-color: #20166C;
}
</style>
border-color css
<style>
span { border-color: #20166C; }
span { border-color: rgb(32,22,108); }
td.TdClassName
{
border-color: #20166C;
}
.TagClassName
{
border-color: #20166C;
}
</style>