Shades of Midnight Blue #20186C
Tints of Midnight Blue #20186C
RGB
CMYK
RGB Variations
Color information
#20186C (or 0x20186C) is known color: Midnight Blue. HEX triplet: 20, 18 and 6C. RGB value is (32,24,108). Sum of RGB (Red+Green+Blue) = 32+24+108=164 (21% of max value = 765). Red value is 32 (12.89% from 255 or 19.51% from 164); Green value is 24 (9.77% from 255 or 14.63% from 164); Blue value is 108 (42.58% from 255 or 65.85% from 164); Max value from RGB is 108 - color contains mainly: blue. Hex color #20186C is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #20186C is #DFE793. Grayscale: #232323. Windows color (decimal): -14673812 or 7084064. OLE color: 7084064.
HSL color Cylindrical-coordinate representation of color #20186C: hue angle of 245.71º degrees, saturation: 0.64, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #20186C is Cyan = 0.70, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 32 | 24 | 108 | - |
| CMYK | 0.70 | 0.78 | 0 | 0.58 |
| HSL | 245.71º | 0.64% | 0.26% | - |
| HSV(B) | 245.71º | 0.78% | 0.42% | - |
| XYZ | 3.63 | 2.04 | 14.39 | - |
| YUV | 35.97 | 168.65 | 125.17 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 24 | 108 | 0.70 | 0.78 | 0 | 0.58 | 245.71 | 0.64 | 0.26 |
| Hex | 20 | 18 | 6C | 46 | 4E | 0 | 3A | F6 | 40 | 1A |
| Octal | 40 | 30 | 154 | 106 | 116 | 0 | 72 | 366 | 100 | 32 |
| Binary | 100000 | 11000 | 1101100 | 1000110 | 1001110 | 0 | 111010 | 11110110 | 1000000 | 11010 |
Color Harmonies of #20186C
Complementary color
Monochromatic Colors of #20186C
Black with #20186C
Text Example
Text Example
White with #20186C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20186C; }
p { color: rgb(32,24,108); }
H1.HeaderClassName
{
color: #20186C;
}
.AnyTagClassName
{
color: #20186C;
}
</style>
background-color css
<style>
a { background-color: #20186C; }
a { background-color: rgb(32,24,108); }
div.DivClassName
{
background-color: #20186C;
}
.BgClassName
{
background-color: #20186C;
}
</style>
border-color css
<style>
span { border-color: #20186C; }
span { border-color: rgb(32,24,108); }
td.TdClassName
{
border-color: #20186C;
}
.TagClassName
{
border-color: #20186C;
}
</style>