Shades of Midnight Blue #21226F
Tints of Midnight Blue #21226F
RGB
CMYK
RGB Variations
Color information
#21226F (or 0x21226F) is known color: Midnight Blue. HEX triplet: 21, 22 and 6F. RGB value is (33,34,111). Sum of RGB (Red+Green+Blue) = 33+34+111=178 (23% of max value = 765). Red value is 33 (13.28% from 255 or 18.54% from 178); Green value is 34 (13.67% from 255 or 19.10% from 178); Blue value is 111 (43.75% from 255 or 62.36% from 178); Max value from RGB is 111 - color contains mainly: blue. Hex color #21226F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21226F is #DEDD90. Grayscale: #2A2A2A. Windows color (decimal): -14605713 or 7283233. OLE color: 7283233.
HSL color Cylindrical-coordinate representation of color #21226F: hue angle of 239.23º degrees, saturation: 0.54, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #21226F is Cyan = 0.70, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 33 | 34 | 111 | - |
| CMYK | 0.70 | 0.69 | 0 | 0.56 |
| HSL | 239.23º | 0.54% | 0.28% | - |
| HSV(B) | 239.23º | 0.7% | 0.44% | - |
| XYZ | 4.07 | 2.62 | 15.33 | - |
| YUV | 42.48 | 166.67 | 121.24 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 34 | 111 | 0.70 | 0.69 | 0 | 0.56 | 239.23 | 0.54 | 0.28 |
| Hex | 21 | 22 | 6F | 46 | 45 | 0 | 38 | EF | 36 | 1C |
| Octal | 41 | 42 | 157 | 106 | 105 | 0 | 70 | 357 | 66 | 34 |
| Binary | 100001 | 100010 | 1101111 | 1000110 | 1000101 | 0 | 111000 | 11101111 | 110110 | 11100 |
Color Harmonies of #21226F
Complementary color
Monochromatic Colors of #21226F
Black with #21226F
Text Example
Text Example
White with #21226F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21226F; }
p { color: rgb(33,34,111); }
H1.HeaderClassName
{
color: #21226F;
}
.AnyTagClassName
{
color: #21226F;
}
</style>
background-color css
<style>
a { background-color: #21226F; }
a { background-color: rgb(33,34,111); }
div.DivClassName
{
background-color: #21226F;
}
.BgClassName
{
background-color: #21226F;
}
</style>
border-color css
<style>
span { border-color: #21226F; }
span { border-color: rgb(33,34,111); }
td.TdClassName
{
border-color: #21226F;
}
.TagClassName
{
border-color: #21226F;
}
</style>