Shades of Midnight Blue #21166B
Tints of Midnight Blue #21166B
RGB
CMYK
RGB Variations
Color information
#21166B (or 0x21166B) is known color: Midnight Blue. HEX triplet: 21, 16 and 6B. RGB value is (33,22,107). Sum of RGB (Red+Green+Blue) = 33+22+107=162 (21% of max value = 765). Red value is 33 (13.28% from 255 or 20.37% from 162); Green value is 22 (8.98% from 255 or 13.58% from 162); Blue value is 107 (42.19% from 255 or 66.05% from 162); Max value from RGB is 107 - color contains mainly: blue. Hex color #21166B is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #21166B is #DEE994. Grayscale: #222222. Windows color (decimal): -14608789 or 7018017. OLE color: 7018017.
HSL color Cylindrical-coordinate representation of color #21166B: hue angle of 247.76º degrees, saturation: 0.66, lightness: 0.25%. HSV value (or HSB Brightness) of color is 0.42% and HSV saturation: 0.79%. Process color model (Four color, CMYK) of #21166B is Cyan = 0.69, Magento = 0.79, Yellow = 0 and Black (K on CMYK) = 0.58.
Color convert
| RGB | 33 | 22 | 107 | - |
| CMYK | 0.69 | 0.79 | 0 | 0.58 |
| HSL | 247.76º | 0.66% | 0.25% | - |
| HSV(B) | 247.76º | 0.79% | 0.42% | - |
| XYZ | 3.57 | 1.96 | 14.1 | - |
| YUV | 34.98 | 168.64 | 126.59 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 22 | 107 | 0.69 | 0.79 | 0 | 0.58 | 247.76 | 0.66 | 0.25 |
| Hex | 21 | 16 | 6B | 45 | 4F | 0 | 3A | F8 | 42 | 19 |
| Octal | 41 | 26 | 153 | 105 | 117 | 0 | 72 | 370 | 102 | 31 |
| Binary | 100001 | 10110 | 1101011 | 1000101 | 1001111 | 0 | 111010 | 11111000 | 1000010 | 11001 |
Color Harmonies of #21166B
Complementary color
Monochromatic Colors of #21166B
Black with #21166B
Text Example
Text Example
White with #21166B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21166B; }
p { color: rgb(33,22,107); }
H1.HeaderClassName
{
color: #21166B;
}
.AnyTagClassName
{
color: #21166B;
}
</style>
background-color css
<style>
a { background-color: #21166B; }
a { background-color: rgb(33,22,107); }
div.DivClassName
{
background-color: #21166B;
}
.BgClassName
{
background-color: #21166B;
}
</style>
border-color css
<style>
span { border-color: #21166B; }
span { border-color: rgb(33,22,107); }
td.TdClassName
{
border-color: #21166B;
}
.TagClassName
{
border-color: #21166B;
}
</style>