Shades of Midnight Blue #28207E
Tints of Midnight Blue #28207E
RGB
CMYK
RGB Variations
Color information
#28207E (or 0x28207E) is known color: Midnight Blue. HEX triplet: 28, 20 and 7E. RGB value is (40,32,126). Sum of RGB (Red+Green+Blue) = 40+32+126=198 (26% of max value = 765). Red value is 40 (16.02% from 255 or 20.20% from 198); Green value is 32 (12.89% from 255 or 16.16% from 198); Blue value is 126 (49.61% from 255 or 63.64% from 198); Max value from RGB is 126 - color contains mainly: blue. Hex color #28207E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28207E is #D7DF81. Grayscale: #2C2C2C. Windows color (decimal): -14147458 or 8265768. OLE color: 8265768.
HSL color Cylindrical-coordinate representation of color #28207E: hue angle of 245.11º degrees, saturation: 0.59, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #28207E is Cyan = 0.68, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 40 | 32 | 126 | - |
| CMYK | 0.68 | 0.75 | 0 | 0.51 |
| HSL | 245.11º | 0.59% | 0.31% | - |
| HSV(B) | 245.11º | 0.75% | 0.49% | - |
| XYZ | 5.16 | 2.99 | 20.04 | - |
| YUV | 45.11 | 173.65 | 124.36 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 32 | 126 | 0.68 | 0.75 | 0 | 0.51 | 245.11 | 0.59 | 0.31 |
| Hex | 28 | 20 | 7E | 44 | 4B | 0 | 33 | F5 | 3B | 1F |
| Octal | 50 | 40 | 176 | 104 | 113 | 0 | 63 | 365 | 73 | 37 |
| Binary | 101000 | 100000 | 1111110 | 1000100 | 1001011 | 0 | 110011 | 11110101 | 111011 | 11111 |
Color Harmonies of #28207E
Complementary color
Monochromatic Colors of #28207E
Black with #28207E
Text Example
Text Example
White with #28207E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28207E; }
p { color: rgb(40,32,126); }
H1.HeaderClassName
{
color: #28207E;
}
.AnyTagClassName
{
color: #28207E;
}
</style>
background-color css
<style>
a { background-color: #28207E; }
a { background-color: rgb(40,32,126); }
div.DivClassName
{
background-color: #28207E;
}
.BgClassName
{
background-color: #28207E;
}
</style>
border-color css
<style>
span { border-color: #28207E; }
span { border-color: rgb(40,32,126); }
td.TdClassName
{
border-color: #28207E;
}
.TagClassName
{
border-color: #28207E;
}
</style>