Shades of Midnight Blue #21126F
Tints of Midnight Blue #21126F
RGB
CMYK
RGB Variations
Color information
#21126F (or 0x21126F) is known color: Midnight Blue. HEX triplet: 21, 12 and 6F. RGB value is (33,18,111). Sum of RGB (Red+Green+Blue) = 33+18+111=162 (21% of max value = 765). Red value is 33 (13.28% from 255 or 20.37% from 162); Green value is 18 (7.42% from 255 or 11.11% from 162); Blue value is 111 (43.75% from 255 or 68.52% from 162); Max value from RGB is 111 - color contains mainly: blue. Hex color #21126F is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21126F is #DEED90. Grayscale: #202020. Windows color (decimal): -14609809 or 7279137. OLE color: 7279137.
HSL color Cylindrical-coordinate representation of color #21126F: hue angle of 249.68º degrees, saturation: 0.72, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #21126F is Cyan = 0.70, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 33 | 18 | 111 | - |
| CMYK | 0.70 | 0.84 | 0 | 0.56 |
| HSL | 249.68º | 0.72% | 0.25% | - |
| HSV(B) | 249.68º | 0.84% | 0.44% | - |
| XYZ | 3.71 | 1.9 | 15.21 | - |
| YUV | 33.09 | 171.97 | 127.94 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 18 | 111 | 0.70 | 0.84 | 0 | 0.56 | 249.68 | 0.72 | 0.25 |
| Hex | 21 | 12 | 6F | 46 | 54 | 0 | 38 | FA | 48 | 19 |
| Octal | 41 | 22 | 157 | 106 | 124 | 0 | 70 | 372 | 110 | 31 |
| Binary | 100001 | 10010 | 1101111 | 1000110 | 1010100 | 0 | 111000 | 11111010 | 1001000 | 11001 |
Color Harmonies of #21126F
Complementary color
Monochromatic Colors of #21126F
Black with #21126F
Text Example
Text Example
White with #21126F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21126F; }
p { color: rgb(33,18,111); }
H1.HeaderClassName
{
color: #21126F;
}
.AnyTagClassName
{
color: #21126F;
}
</style>
background-color css
<style>
a { background-color: #21126F; }
a { background-color: rgb(33,18,111); }
div.DivClassName
{
background-color: #21126F;
}
.BgClassName
{
background-color: #21126F;
}
</style>
border-color css
<style>
span { border-color: #21126F; }
span { border-color: rgb(33,18,111); }
td.TdClassName
{
border-color: #21126F;
}
.TagClassName
{
border-color: #21126F;
}
</style>