Shades of Midnight Blue #28207F
Tints of Midnight Blue #28207F
RGB
CMYK
RGB Variations
Color information
#28207F (or 0x28207F) is known color: Midnight Blue. HEX triplet: 28, 20 and 7F. RGB value is (40,32,127). Sum of RGB (Red+Green+Blue) = 40+32+127=199 (26% of max value = 765). Red value is 40 (16.02% from 255 or 20.10% from 199); Green value is 32 (12.89% from 255 or 16.08% from 199); Blue value is 127 (50% from 255 or 63.82% from 199); Max value from RGB is 127 - color contains mainly: blue. Hex color #28207F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28207F is #D7DF80. Grayscale: #2C2C2C. Windows color (decimal): -14147457 or 8331304. OLE color: 8331304.
HSL color Cylindrical-coordinate representation of color #28207F: hue angle of 245.05º 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 #28207F is Cyan = 0.69, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 40 | 32 | 127 | - |
| CMYK | 0.69 | 0.75 | 0 | 0.50 |
| HSL | 245.05º | 0.6% | 0.31% | - |
| HSV(B) | 245.05º | 0.75% | 0.5% | - |
| XYZ | 5.22 | 3.02 | 20.39 | - |
| YUV | 45.22 | 174.15 | 124.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 32 | 127 | 0.69 | 0.75 | 0 | 0.50 | 245.05 | 0.6 | 0.31 |
| Hex | 28 | 20 | 7F | 45 | 4B | 0 | 32 | F5 | 3C | 1F |
| Octal | 50 | 40 | 177 | 105 | 113 | 0 | 62 | 365 | 74 | 37 |
| Binary | 101000 | 100000 | 1111111 | 1000101 | 1001011 | 0 | 110010 | 11110101 | 111100 | 11111 |
Color Harmonies of #28207F
Complementary color
Monochromatic Colors of #28207F
Black with #28207F
Text Example
Text Example
White with #28207F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28207F; }
p { color: rgb(40,32,127); }
H1.HeaderClassName
{
color: #28207F;
}
.AnyTagClassName
{
color: #28207F;
}
</style>
background-color css
<style>
a { background-color: #28207F; }
a { background-color: rgb(40,32,127); }
div.DivClassName
{
background-color: #28207F;
}
.BgClassName
{
background-color: #28207F;
}
</style>
border-color css
<style>
span { border-color: #28207F; }
span { border-color: rgb(40,32,127); }
td.TdClassName
{
border-color: #28207F;
}
.TagClassName
{
border-color: #28207F;
}
</style>