Shades of Midnight Blue #28257C
Tints of Midnight Blue #28257C
RGB
CMYK
RGB Variations
Color information
#28257C (or 0x28257C) is known color: Midnight Blue. HEX triplet: 28, 25 and 7C. RGB value is (40,37,124). Sum of RGB (Red+Green+Blue) = 40+37+124=201 (26% of max value = 765). Red value is 40 (16.02% from 255 or 19.90% from 201); Green value is 37 (14.84% from 255 or 18.41% from 201); Blue value is 124 (48.83% from 255 or 61.69% from 201); Max value from RGB is 124 - color contains mainly: blue. Hex color #28257C is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28257C is #D7DA83. Grayscale: #2F2F2F. Windows color (decimal): -14146180 or 8135976. OLE color: 8135976.
HSL color Cylindrical-coordinate representation of color #28257C: hue angle of 242.07º degrees, saturation: 0.54, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.7%. Process color model (Four color, CMYK) of #28257C is Cyan = 0.68, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 40 | 37 | 124 | - |
| CMYK | 0.68 | 0.70 | 0 | 0.51 |
| HSL | 242.07º | 0.54% | 0.32% | - |
| HSV(B) | 242.07º | 0.7% | 0.49% | - |
| XYZ | 5.17 | 3.23 | 19.42 | - |
| YUV | 47.82 | 170.99 | 122.43 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 37 | 124 | 0.68 | 0.70 | 0 | 0.51 | 242.07 | 0.54 | 0.32 |
| Hex | 28 | 25 | 7C | 44 | 46 | 0 | 33 | F2 | 36 | 20 |
| Octal | 50 | 45 | 174 | 104 | 106 | 0 | 63 | 362 | 66 | 40 |
| Binary | 101000 | 100101 | 1111100 | 1000100 | 1000110 | 0 | 110011 | 11110010 | 110110 | 100000 |
Color Harmonies of #28257C
Complementary color
Monochromatic Colors of #28257C
Black with #28257C
Text Example
Text Example
White with #28257C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28257C; }
p { color: rgb(40,37,124); }
H1.HeaderClassName
{
color: #28257C;
}
.AnyTagClassName
{
color: #28257C;
}
</style>
background-color css
<style>
a { background-color: #28257C; }
a { background-color: rgb(40,37,124); }
div.DivClassName
{
background-color: #28257C;
}
.BgClassName
{
background-color: #28257C;
}
</style>
border-color css
<style>
span { border-color: #28257C; }
span { border-color: rgb(40,37,124); }
td.TdClassName
{
border-color: #28257C;
}
.TagClassName
{
border-color: #28257C;
}
</style>