Shades of Midnight Blue #20228A
Tints of Midnight Blue #20228A
RGB
CMYK
RGB Variations
Color information
#20228A (or 0x20228A) is known color: Midnight Blue. HEX triplet: 20, 22 and 8A. RGB value is (32,34,138). Sum of RGB (Red+Green+Blue) = 32+34+138=204 (27% of max value = 765). Red value is 32 (12.89% from 255 or 15.69% from 204); Green value is 34 (13.67% from 255 or 16.67% from 204); Blue value is 138 (54.30% from 255 or 67.65% from 204); Max value from RGB is 138 - color contains mainly: blue. Hex color #20228A is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #20228A is #DFDD75. Grayscale: #2C2C2C. Windows color (decimal): -14671222 or 9052704. OLE color: 9052704.
HSL color Cylindrical-coordinate representation of color #20228A: hue angle of 238.87º degrees, saturation: 0.62, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.77%. Process color model (Four color, CMYK) of #20228A is Cyan = 0.77, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 32 | 34 | 138 | - |
| CMYK | 0.77 | 0.75 | 0 | 0.46 |
| HSL | 238.87º | 0.62% | 0.33% | - |
| HSV(B) | 238.87º | 0.77% | 0.54% | - |
| XYZ | 5.76 | 3.29 | 24.38 | - |
| YUV | 45.26 | 180.34 | 118.54 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 34 | 138 | 0.77 | 0.75 | 0 | 0.46 | 238.87 | 0.62 | 0.33 |
| Hex | 20 | 22 | 8A | 4D | 4B | 0 | 2E | EF | 3E | 21 |
| Octal | 40 | 42 | 212 | 115 | 113 | 0 | 56 | 357 | 76 | 41 |
| Binary | 100000 | 100010 | 10001010 | 1001101 | 1001011 | 0 | 101110 | 11101111 | 111110 | 100001 |
Color Harmonies of #20228A
Complementary color
Monochromatic Colors of #20228A
Black with #20228A
Text Example
Text Example
White with #20228A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20228A; }
p { color: rgb(32,34,138); }
H1.HeaderClassName
{
color: #20228A;
}
.AnyTagClassName
{
color: #20228A;
}
</style>
background-color css
<style>
a { background-color: #20228A; }
a { background-color: rgb(32,34,138); }
div.DivClassName
{
background-color: #20228A;
}
.BgClassName
{
background-color: #20228A;
}
</style>
border-color css
<style>
span { border-color: #20228A; }
span { border-color: rgb(32,34,138); }
td.TdClassName
{
border-color: #20228A;
}
.TagClassName
{
border-color: #20228A;
}
</style>