Shades of Midnight Blue #28247F
Tints of Midnight Blue #28247F
RGB
CMYK
RGB Variations
Color information
#28247F (or 0x28247F) is known color: Midnight Blue. HEX triplet: 28, 24 and 7F. RGB value is (40,36,127). Sum of RGB (Red+Green+Blue) = 40+36+127=203 (26% of max value = 765). Red value is 40 (16.02% from 255 or 19.70% from 203); Green value is 36 (14.45% from 255 or 17.73% from 203); Blue value is 127 (50% from 255 or 62.56% from 203); Max value from RGB is 127 - color contains mainly: blue. Hex color #28247F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28247F is #D7DB80. Grayscale: #2F2F2F. Windows color (decimal): -14146433 or 8332328. OLE color: 8332328.
HSL color Cylindrical-coordinate representation of color #28247F: hue angle of 242.64º degrees, saturation: 0.56, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #28247F is Cyan = 0.69, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 40 | 36 | 127 | - |
| CMYK | 0.69 | 0.72 | 0 | 0.50 |
| HSL | 242.64º | 0.56% | 0.32% | - |
| HSV(B) | 242.64º | 0.72% | 0.5% | - |
| XYZ | 5.34 | 3.25 | 20.42 | - |
| YUV | 47.57 | 172.83 | 122.6 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 36 | 127 | 0.69 | 0.72 | 0 | 0.50 | 242.64 | 0.56 | 0.32 |
| Hex | 28 | 24 | 7F | 45 | 48 | 0 | 32 | F3 | 38 | 20 |
| Octal | 50 | 44 | 177 | 105 | 110 | 0 | 62 | 363 | 70 | 40 |
| Binary | 101000 | 100100 | 1111111 | 1000101 | 1001000 | 0 | 110010 | 11110011 | 111000 | 100000 |
Color Harmonies of #28247F
Complementary color
Monochromatic Colors of #28247F
Black with #28247F
Text Example
Text Example
White with #28247F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28247F; }
p { color: rgb(40,36,127); }
H1.HeaderClassName
{
color: #28247F;
}
.AnyTagClassName
{
color: #28247F;
}
</style>
background-color css
<style>
a { background-color: #28247F; }
a { background-color: rgb(40,36,127); }
div.DivClassName
{
background-color: #28247F;
}
.BgClassName
{
background-color: #28247F;
}
</style>
border-color css
<style>
span { border-color: #28247F; }
span { border-color: rgb(40,36,127); }
td.TdClassName
{
border-color: #28247F;
}
.TagClassName
{
border-color: #28247F;
}
</style>