Shades of Midnight Blue #28258C
Tints of Midnight Blue #28258C
RGB
CMYK
RGB Variations
Color information
#28258C (or 0x28258C) is known color: Midnight Blue. HEX triplet: 28, 25 and 8C. RGB value is (40,37,140). Sum of RGB (Red+Green+Blue) = 40+37+140=217 (28% of max value = 765). Red value is 40 (16.02% from 255 or 18.43% from 217); Green value is 37 (14.84% from 255 or 17.05% from 217); Blue value is 140 (55.08% from 255 or 64.52% from 217); Max value from RGB is 140 - color contains mainly: blue. Hex color #28258C is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #28258C is #D7DA73. Grayscale: #313131. Windows color (decimal): -14146164 or 9184552. OLE color: 9184552.
HSL color Cylindrical-coordinate representation of color #28258C: hue angle of 241.75º degrees, saturation: 0.58, lightness: 0.35%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #28258C is Cyan = 0.71, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 40 | 37 | 140 | - |
| CMYK | 0.71 | 0.74 | 0 | 0.45 |
| HSL | 241.75º | 0.58% | 0.35% | - |
| HSV(B) | 241.75º | 0.74% | 0.55% | - |
| XYZ | 6.27 | 3.67 | 25.19 | - |
| YUV | 49.64 | 178.99 | 121.12 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 37 | 140 | 0.71 | 0.74 | 0 | 0.45 | 241.75 | 0.58 | 0.35 |
| Hex | 28 | 25 | 8C | 47 | 4A | 0 | 2D | F2 | 3A | 23 |
| Octal | 50 | 45 | 214 | 107 | 112 | 0 | 55 | 362 | 72 | 43 |
| Binary | 101000 | 100101 | 10001100 | 1000111 | 1001010 | 0 | 101101 | 11110010 | 111010 | 100011 |
Color Harmonies of #28258C
Complementary color
Monochromatic Colors of #28258C
Black with #28258C
Text Example
Text Example
White with #28258C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28258C; }
p { color: rgb(40,37,140); }
H1.HeaderClassName
{
color: #28258C;
}
.AnyTagClassName
{
color: #28258C;
}
</style>
background-color css
<style>
a { background-color: #28258C; }
a { background-color: rgb(40,37,140); }
div.DivClassName
{
background-color: #28258C;
}
.BgClassName
{
background-color: #28258C;
}
</style>
border-color css
<style>
span { border-color: #28258C; }
span { border-color: rgb(40,37,140); }
td.TdClassName
{
border-color: #28258C;
}
.TagClassName
{
border-color: #28258C;
}
</style>