Shades of Midnight Blue #28278C
Tints of Midnight Blue #28278C
RGB
CMYK
RGB Variations
Color information
#28278C (or 0x28278C) is known color: Midnight Blue. HEX triplet: 28, 27 and 8C. RGB value is (40,39,140). Sum of RGB (Red+Green+Blue) = 40+39+140=219 (29% of max value = 765). Red value is 40 (16.02% from 255 or 18.26% from 219); Green value is 39 (15.62% from 255 or 17.81% from 219); Blue value is 140 (55.08% from 255 or 63.93% from 219); Max value from RGB is 140 - color contains mainly: blue. Hex color #28278C is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #28278C is #D7D873. Grayscale: #323232. Windows color (decimal): -14145652 or 9185064. OLE color: 9185064.
HSL color Cylindrical-coordinate representation of color #28278C: hue angle of 240.59º degrees, saturation: 0.56, lightness: 0.35%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #28278C is Cyan = 0.71, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 40 | 39 | 140 | - |
| CMYK | 0.71 | 0.72 | 0 | 0.45 |
| HSL | 240.59º | 0.56% | 0.35% | - |
| HSV(B) | 240.59º | 0.72% | 0.55% | - |
| XYZ | 6.33 | 3.8 | 25.21 | - |
| YUV | 50.81 | 178.33 | 120.29 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 39 | 140 | 0.71 | 0.72 | 0 | 0.45 | 240.59 | 0.56 | 0.35 |
| Hex | 28 | 27 | 8C | 47 | 48 | 0 | 2D | F1 | 38 | 23 |
| Octal | 50 | 47 | 214 | 107 | 110 | 0 | 55 | 361 | 70 | 43 |
| Binary | 101000 | 100111 | 10001100 | 1000111 | 1001000 | 0 | 101101 | 11110001 | 111000 | 100011 |
Color Harmonies of #28278C
Complementary color
Monochromatic Colors of #28278C
Black with #28278C
Text Example
Text Example
White with #28278C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28278C; }
p { color: rgb(40,39,140); }
H1.HeaderClassName
{
color: #28278C;
}
.AnyTagClassName
{
color: #28278C;
}
</style>
background-color css
<style>
a { background-color: #28278C; }
a { background-color: rgb(40,39,140); }
div.DivClassName
{
background-color: #28278C;
}
.BgClassName
{
background-color: #28278C;
}
</style>
border-color css
<style>
span { border-color: #28278C; }
span { border-color: rgb(40,39,140); }
td.TdClassName
{
border-color: #28278C;
}
.TagClassName
{
border-color: #28278C;
}
</style>