Shades of Midnight Blue #21186E
Tints of Midnight Blue #21186E
RGB
CMYK
RGB Variations
Color information
#21186E (or 0x21186E) is known color: Midnight Blue. HEX triplet: 21, 18 and 6E. RGB value is (33,24,110). Sum of RGB (Red+Green+Blue) = 33+24+110=167 (22% of max value = 765). Red value is 33 (13.28% from 255 or 19.76% from 167); Green value is 24 (9.77% from 255 or 14.37% from 167); Blue value is 110 (43.36% from 255 or 65.87% from 167); Max value from RGB is 110 - color contains mainly: blue. Hex color #21186E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21186E is #DEE791. Grayscale: #242424. Windows color (decimal): -14608274 or 7215137. OLE color: 7215137.
HSL color Cylindrical-coordinate representation of color #21186E: hue angle of 246.28º degrees, saturation: 0.64, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #21186E is Cyan = 0.7, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 33 | 24 | 110 | - |
| CMYK | 0.7 | 0.78 | 0 | 0.57 |
| HSL | 246.28º | 0.64% | 0.26% | - |
| HSV(B) | 246.28º | 0.78% | 0.43% | - |
| XYZ | 3.77 | 2.1 | 14.96 | - |
| YUV | 36.5 | 169.48 | 125.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 24 | 110 | 0.7 | 0.78 | 0 | 0.57 | 246.28 | 0.64 | 0.26 |
| Hex | 21 | 18 | 6E | 46 | 4E | 0 | 39 | F6 | 40 | 1A |
| Octal | 41 | 30 | 156 | 106 | 116 | 0 | 71 | 366 | 100 | 32 |
| Binary | 100001 | 11000 | 1101110 | 1000110 | 1001110 | 0 | 111001 | 11110110 | 1000000 | 11010 |
Color Harmonies of #21186E
Complementary color
Monochromatic Colors of #21186E
Black with #21186E
Text Example
Text Example
White with #21186E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21186E; }
p { color: rgb(33,24,110); }
H1.HeaderClassName
{
color: #21186E;
}
.AnyTagClassName
{
color: #21186E;
}
</style>
background-color css
<style>
a { background-color: #21186E; }
a { background-color: rgb(33,24,110); }
div.DivClassName
{
background-color: #21186E;
}
.BgClassName
{
background-color: #21186E;
}
</style>
border-color css
<style>
span { border-color: #21186E; }
span { border-color: rgb(33,24,110); }
td.TdClassName
{
border-color: #21186E;
}
.TagClassName
{
border-color: #21186E;
}
</style>