Shades of Midnight Blue #28287F
Tints of Midnight Blue #28287F
RGB
CMYK
RGB Variations
Color information
#28287F (or 0x28287F) is known color: Midnight Blue. HEX triplet: 28, 28 and 7F. RGB value is (40,40,127). Sum of RGB (Red+Green+Blue) = 40+40+127=207 (27% of max value = 765). Red value is 40 (16.02% from 255 or 19.32% from 207); Green value is 40 (16.02% from 255 or 19.32% from 207); Blue value is 127 (50% from 255 or 61.35% from 207); Max value from RGB is 127 - color contains mainly: blue. Hex color #28287F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28287F is #D7D780. Grayscale: #313131. Windows color (decimal): -14145409 or 8333352. OLE color: 8333352.
HSL color Cylindrical-coordinate representation of color #28287F: hue angle of 240º degrees, saturation: 0.52, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #28287F is Cyan = 0.69, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 40 | 40 | 127 | - |
| CMYK | 0.69 | 0.69 | 0 | 0.50 |
| HSL | 240º | 0.52% | 0.33% | - |
| HSV(B) | 240º | 0.69% | 0.5% | - |
| XYZ | 5.46 | 3.5 | 20.47 | - |
| YUV | 49.92 | 171.5 | 120.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 40 | 127 | 0.69 | 0.69 | 0 | 0.50 | 240 | 0.52 | 0.33 |
| Hex | 28 | 28 | 7F | 45 | 45 | 0 | 32 | F0 | 34 | 21 |
| Octal | 50 | 50 | 177 | 105 | 105 | 0 | 62 | 360 | 64 | 41 |
| Binary | 101000 | 101000 | 1111111 | 1000101 | 1000101 | 0 | 110010 | 11110000 | 110100 | 100001 |
Color Harmonies of #28287F
Complementary color
Monochromatic Colors of #28287F
Black with #28287F
Text Example
Text Example
White with #28287F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28287F; }
p { color: rgb(40,40,127); }
H1.HeaderClassName
{
color: #28287F;
}
.AnyTagClassName
{
color: #28287F;
}
</style>
background-color css
<style>
a { background-color: #28287F; }
a { background-color: rgb(40,40,127); }
div.DivClassName
{
background-color: #28287F;
}
.BgClassName
{
background-color: #28287F;
}
</style>
border-color css
<style>
span { border-color: #28287F; }
span { border-color: rgb(40,40,127); }
td.TdClassName
{
border-color: #28287F;
}
.TagClassName
{
border-color: #28287F;
}
</style>