Shades of Midnight Blue #28217A
Tints of Midnight Blue #28217A
RGB
CMYK
RGB Variations
Color information
#28217A (or 0x28217A) is known color: Midnight Blue. HEX triplet: 28, 21 and 7A. RGB value is (40,33,122). Sum of RGB (Red+Green+Blue) = 40+33+122=195 (25% of max value = 765). Red value is 40 (16.02% from 255 or 20.51% from 195); Green value is 33 (13.28% from 255 or 16.92% from 195); Blue value is 122 (48.05% from 255 or 62.56% from 195); Max value from RGB is 122 - color contains mainly: blue. Hex color #28217A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28217A is #D7DE85. Grayscale: #2C2C2C. Windows color (decimal): -14147206 or 8003880. OLE color: 8003880.
HSL color Cylindrical-coordinate representation of color #28217A: hue angle of 244.72º degrees, saturation: 0.57, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #28217A is Cyan = 0.67, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 40 | 33 | 122 | - |
| CMYK | 0.67 | 0.73 | 0 | 0.52 |
| HSL | 244.72º | 0.57% | 0.3% | - |
| HSV(B) | 244.72º | 0.73% | 0.48% | - |
| XYZ | 4.93 | 2.94 | 18.72 | - |
| YUV | 45.24 | 171.32 | 124.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 33 | 122 | 0.67 | 0.73 | 0 | 0.52 | 244.72 | 0.57 | 0.3 |
| Hex | 28 | 21 | 7A | 43 | 49 | 0 | 34 | F5 | 39 | 1E |
| Octal | 50 | 41 | 172 | 103 | 111 | 0 | 64 | 365 | 71 | 36 |
| Binary | 101000 | 100001 | 1111010 | 1000011 | 1001001 | 0 | 110100 | 11110101 | 111001 | 11110 |
Color Harmonies of #28217A
Complementary color
Monochromatic Colors of #28217A
Black with #28217A
Text Example
Text Example
White with #28217A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28217A; }
p { color: rgb(40,33,122); }
H1.HeaderClassName
{
color: #28217A;
}
.AnyTagClassName
{
color: #28217A;
}
</style>
background-color css
<style>
a { background-color: #28217A; }
a { background-color: rgb(40,33,122); }
div.DivClassName
{
background-color: #28217A;
}
.BgClassName
{
background-color: #28217A;
}
</style>
border-color css
<style>
span { border-color: #28217A; }
span { border-color: rgb(40,33,122); }
td.TdClassName
{
border-color: #28217A;
}
.TagClassName
{
border-color: #28217A;
}
</style>