Shades of Midnight Blue #21228A
Tints of Midnight Blue #21228A
RGB
CMYK
RGB Variations
Color information
#21228A (or 0x21228A) is known color: Midnight Blue. HEX triplet: 21, 22 and 8A. RGB value is (33,34,138). Sum of RGB (Red+Green+Blue) = 33+34+138=205 (27% of max value = 765). Red value is 33 (13.28% from 255 or 16.10% from 205); Green value is 34 (13.67% from 255 or 16.59% from 205); Blue value is 138 (54.30% from 255 or 67.32% from 205); Max value from RGB is 138 - color contains mainly: blue. Hex color #21228A is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #21228A is #DEDD75. Grayscale: #2D2D2D. Windows color (decimal): -14605686 or 9052705. OLE color: 9052705.
HSL color Cylindrical-coordinate representation of color #21228A: hue angle of 239.43º degrees, saturation: 0.61, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #21228A is Cyan = 0.76, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 33 | 34 | 138 | - |
| CMYK | 0.76 | 0.75 | 0 | 0.46 |
| HSL | 239.43º | 0.61% | 0.34% | - |
| HSV(B) | 239.43º | 0.76% | 0.54% | - |
| XYZ | 5.79 | 3.3 | 24.38 | - |
| YUV | 45.56 | 180.17 | 119.04 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 34 | 138 | 0.76 | 0.75 | 0 | 0.46 | 239.43 | 0.61 | 0.34 |
| Hex | 21 | 22 | 8A | 4C | 4B | 0 | 2E | EF | 3D | 22 |
| Octal | 41 | 42 | 212 | 114 | 113 | 0 | 56 | 357 | 75 | 42 |
| Binary | 100001 | 100010 | 10001010 | 1001100 | 1001011 | 0 | 101110 | 11101111 | 111101 | 100010 |
Color Harmonies of #21228A
Complementary color
Monochromatic Colors of #21228A
Black with #21228A
Text Example
Text Example
White with #21228A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21228A; }
p { color: rgb(33,34,138); }
H1.HeaderClassName
{
color: #21228A;
}
.AnyTagClassName
{
color: #21228A;
}
</style>
background-color css
<style>
a { background-color: #21228A; }
a { background-color: rgb(33,34,138); }
div.DivClassName
{
background-color: #21228A;
}
.BgClassName
{
background-color: #21228A;
}
</style>
border-color css
<style>
span { border-color: #21228A; }
span { border-color: rgb(33,34,138); }
td.TdClassName
{
border-color: #21228A;
}
.TagClassName
{
border-color: #21228A;
}
</style>