Shades of Midnight Blue #21207F
Tints of Midnight Blue #21207F
RGB
CMYK
RGB Variations
Color information
#21207F (or 0x21207F) is known color: Midnight Blue. HEX triplet: 21, 20 and 7F. RGB value is (33,32,127). Sum of RGB (Red+Green+Blue) = 33+32+127=192 (25% of max value = 765). Red value is 33 (13.28% from 255 or 17.19% from 192); Green value is 32 (12.89% from 255 or 16.67% from 192); Blue value is 127 (50% from 255 or 66.15% from 192); Max value from RGB is 127 - color contains mainly: blue. Hex color #21207F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #21207F is #DEDF80. Grayscale: #2A2A2A. Windows color (decimal): -14606209 or 8331297. OLE color: 8331297.
HSL color Cylindrical-coordinate representation of color #21207F: hue angle of 240.63º degrees, saturation: 0.6, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #21207F is Cyan = 0.74, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 33 | 32 | 127 | - |
| CMYK | 0.74 | 0.75 | 0 | 0.50 |
| HSL | 240.63º | 0.6% | 0.31% | - |
| HSV(B) | 240.63º | 0.75% | 0.5% | - |
| XYZ | 4.97 | 2.89 | 20.37 | - |
| YUV | 43.13 | 175.33 | 120.78 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 32 | 127 | 0.74 | 0.75 | 0 | 0.50 | 240.63 | 0.6 | 0.31 |
| Hex | 21 | 20 | 7F | 4A | 4B | 0 | 32 | F1 | 3C | 1F |
| Octal | 41 | 40 | 177 | 112 | 113 | 0 | 62 | 361 | 74 | 37 |
| Binary | 100001 | 100000 | 1111111 | 1001010 | 1001011 | 0 | 110010 | 11110001 | 111100 | 11111 |
Color Harmonies of #21207F
Complementary color
Monochromatic Colors of #21207F
Black with #21207F
Text Example
Text Example
White with #21207F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21207F; }
p { color: rgb(33,32,127); }
H1.HeaderClassName
{
color: #21207F;
}
.AnyTagClassName
{
color: #21207F;
}
</style>
background-color css
<style>
a { background-color: #21207F; }
a { background-color: rgb(33,32,127); }
div.DivClassName
{
background-color: #21207F;
}
.BgClassName
{
background-color: #21207F;
}
</style>
border-color css
<style>
span { border-color: #21207F; }
span { border-color: rgb(33,32,127); }
td.TdClassName
{
border-color: #21207F;
}
.TagClassName
{
border-color: #21207F;
}
</style>