Shades of Midnight Blue #21278C
Tints of Midnight Blue #21278C
RGB
CMYK
RGB Variations
Color information
#21278C (or 0x21278C) is known color: Midnight Blue. HEX triplet: 21, 27 and 8C. RGB value is (33,39,140). Sum of RGB (Red+Green+Blue) = 33+39+140=212 (28% of max value = 765). Red value is 33 (13.28% from 255 or 15.57% from 212); Green value is 39 (15.62% from 255 or 18.40% from 212); Blue value is 140 (55.08% from 255 or 66.04% from 212); Max value from RGB is 140 - color contains mainly: blue. Hex color #21278C is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #21278C is #DED873. Grayscale: #303030. Windows color (decimal): -14604404 or 9185057. OLE color: 9185057.
HSL color Cylindrical-coordinate representation of color #21278C: hue angle of 236.64º degrees, saturation: 0.62, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #21278C is Cyan = 0.76, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 33 | 39 | 140 | - |
| CMYK | 0.76 | 0.72 | 0 | 0.45 |
| HSL | 236.64º | 0.62% | 0.34% | - |
| HSV(B) | 236.64º | 0.76% | 0.55% | - |
| XYZ | 6.09 | 3.67 | 25.2 | - |
| YUV | 48.72 | 179.51 | 116.79 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 33 | 39 | 140 | 0.76 | 0.72 | 0 | 0.45 | 236.64 | 0.62 | 0.34 |
| Hex | 21 | 27 | 8C | 4C | 48 | 0 | 2D | ED | 3E | 22 |
| Octal | 41 | 47 | 214 | 114 | 110 | 0 | 55 | 355 | 76 | 42 |
| Binary | 100001 | 100111 | 10001100 | 1001100 | 1001000 | 0 | 101101 | 11101101 | 111110 | 100010 |
Color Harmonies of #21278C
Complementary color
Monochromatic Colors of #21278C
Black with #21278C
Text Example
Text Example
White with #21278C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #21278C; }
p { color: rgb(33,39,140); }
H1.HeaderClassName
{
color: #21278C;
}
.AnyTagClassName
{
color: #21278C;
}
</style>
background-color css
<style>
a { background-color: #21278C; }
a { background-color: rgb(33,39,140); }
div.DivClassName
{
background-color: #21278C;
}
.BgClassName
{
background-color: #21278C;
}
</style>
border-color css
<style>
span { border-color: #21278C; }
span { border-color: rgb(33,39,140); }
td.TdClassName
{
border-color: #21278C;
}
.TagClassName
{
border-color: #21278C;
}
</style>