Shades of Midnight Blue #21126B
Tints of Midnight Blue #21126B
RGB
CMYK
RGB Variations
Color information
#21126B (or 0x21126B) is known color: Midnight Blue. HEX triplet: 21, 12 and 6B. RGB value is (33,18,107). Sum of RGB (Red+Green+Blue) = 33+18+107=158 (20% of max value = 765). Red value is 33 (13.28% from 255 or 20.89% from 158); Green value is 18 (7.42% from 255 or 11.39% from 158); Blue value is 107 (42.19% from 255 or 67.72% from 158); Max value from RGB is 107 - color contains mainly: blue. Hex color #21126B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21126B is #DEED94. Grayscale: #202020. Windows color (decimal): -14609813 or 7016993. OLE color: 7016993.
HSL color Cylindrical-coordinate representation of color #21126B: hue angle of 250.11º degrees, saturation: 0.71, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #21126B is Cyan = 0.69, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 33 | 18 | 107 | - |
| CMYK | 0.69 | 0.83 | 0 | 0.58 |
| HSL | 250.11º | 0.71% | 0.25% | - |
| HSV(B) | 250.11º | 0.83% | 0.42% | - |
| XYZ | 3.5 | 1.82 | 14.08 | - |
| YUV | 32.63 | 169.97 | 128.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 18 | 107 | 0.69 | 0.83 | 0 | 0.58 | 250.11 | 0.71 | 0.25 |
| Hex | 21 | 12 | 6B | 45 | 53 | 0 | 3A | FA | 47 | 19 |
| Octal | 41 | 22 | 153 | 105 | 123 | 0 | 72 | 372 | 107 | 31 |
| Binary | 100001 | 10010 | 1101011 | 1000101 | 1010011 | 0 | 111010 | 11111010 | 1000111 | 11001 |
Color Harmonies of #21126B
Complementary color
Monochromatic Colors of #21126B
Black with #21126B
Text Example
Text Example
White with #21126B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21126B; }
p { color: rgb(33,18,107); }
H1.HeaderClassName
{
color: #21126B;
}
.AnyTagClassName
{
color: #21126B;
}
</style>
background-color css
<style>
a { background-color: #21126B; }
a { background-color: rgb(33,18,107); }
div.DivClassName
{
background-color: #21126B;
}
.BgClassName
{
background-color: #21126B;
}
</style>
border-color css
<style>
span { border-color: #21126B; }
span { border-color: rgb(33,18,107); }
td.TdClassName
{
border-color: #21126B;
}
.TagClassName
{
border-color: #21126B;
}
</style>