Shades of Midnight Blue #21126E
Tints of Midnight Blue #21126E
RGB
CMYK
RGB Variations
Color information
#21126E (or 0x21126E) is known color: Midnight Blue. HEX triplet: 21, 12 and 6E. RGB value is (33,18,110). Sum of RGB (Red+Green+Blue) = 33+18+110=161 (21% of max value = 765). Red value is 33 (13.28% from 255 or 20.50% from 161); Green value is 18 (7.42% from 255 or 11.18% from 161); Blue value is 110 (43.36% from 255 or 68.32% from 161); Max value from RGB is 110 - color contains mainly: blue. Hex color #21126E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21126E is #DEED91. Grayscale: #202020. Windows color (decimal): -14609810 or 7213601. OLE color: 7213601.
HSL color Cylindrical-coordinate representation of color #21126E: hue angle of 249.78º degrees, saturation: 0.72, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.43% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #21126E is Cyan = 0.7, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.57.
Color convert
| RGB | 33 | 18 | 110 | - |
| CMYK | 0.7 | 0.84 | 0 | 0.57 |
| HSL | 249.78º | 0.72% | 0.25% | - |
| HSV(B) | 249.78º | 0.84% | 0.43% | - |
| XYZ | 3.66 | 1.88 | 14.92 | - |
| YUV | 32.97 | 171.47 | 128.02 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 18 | 110 | 0.7 | 0.84 | 0 | 0.57 | 249.78 | 0.72 | 0.25 |
| Hex | 21 | 12 | 6E | 46 | 54 | 0 | 39 | FA | 48 | 19 |
| Octal | 41 | 22 | 156 | 106 | 124 | 0 | 71 | 372 | 110 | 31 |
| Binary | 100001 | 10010 | 1101110 | 1000110 | 1010100 | 0 | 111001 | 11111010 | 1001000 | 11001 |
Color Harmonies of #21126E
Complementary color
Monochromatic Colors of #21126E
Black with #21126E
Text Example
Text Example
White with #21126E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21126E; }
p { color: rgb(33,18,110); }
H1.HeaderClassName
{
color: #21126E;
}
.AnyTagClassName
{
color: #21126E;
}
</style>
background-color css
<style>
a { background-color: #21126E; }
a { background-color: rgb(33,18,110); }
div.DivClassName
{
background-color: #21126E;
}
.BgClassName
{
background-color: #21126E;
}
</style>
border-color css
<style>
span { border-color: #21126E; }
span { border-color: rgb(33,18,110); }
td.TdClassName
{
border-color: #21126E;
}
.TagClassName
{
border-color: #21126E;
}
</style>