Shades of Midnight Blue #28257D
Tints of Midnight Blue #28257D
RGB
CMYK
RGB Variations
Color information
#28257D (or 0x28257D) is known color: Midnight Blue. HEX triplet: 28, 25 and 7D. RGB value is (40,37,125). Sum of RGB (Red+Green+Blue) = 40+37+125=202 (26% of max value = 765). Red value is 40 (16.02% from 255 or 19.80% from 202); Green value is 37 (14.84% from 255 or 18.32% from 202); Blue value is 125 (49.22% from 255 or 61.88% from 202); Max value from RGB is 125 - color contains mainly: blue. Hex color #28257D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28257D is #D7DA82. Grayscale: #2F2F2F. Windows color (decimal): -14146179 or 8201512. OLE color: 8201512.
HSL color Cylindrical-coordinate representation of color #28257D: hue angle of 242.05º 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 #28257D is Cyan = 0.68, Magento = 0.70, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 40 | 37 | 125 | - |
| CMYK | 0.68 | 0.70 | 0 | 0.51 |
| HSL | 242.05º | 0.54% | 0.32% | - |
| HSV(B) | 242.05º | 0.7% | 0.49% | - |
| XYZ | 5.24 | 3.25 | 19.75 | - |
| YUV | 47.93 | 171.49 | 122.34 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 37 | 125 | 0.68 | 0.70 | 0 | 0.51 | 242.05 | 0.54 | 0.32 |
| Hex | 28 | 25 | 7D | 44 | 46 | 0 | 33 | F2 | 36 | 20 |
| Octal | 50 | 45 | 175 | 104 | 106 | 0 | 63 | 362 | 66 | 40 |
| Binary | 101000 | 100101 | 1111101 | 1000100 | 1000110 | 0 | 110011 | 11110010 | 110110 | 100000 |
Color Harmonies of #28257D
Complementary color
Monochromatic Colors of #28257D
Black with #28257D
Text Example
Text Example
White with #28257D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28257D; }
p { color: rgb(40,37,125); }
H1.HeaderClassName
{
color: #28257D;
}
.AnyTagClassName
{
color: #28257D;
}
</style>
background-color css
<style>
a { background-color: #28257D; }
a { background-color: rgb(40,37,125); }
div.DivClassName
{
background-color: #28257D;
}
.BgClassName
{
background-color: #28257D;
}
</style>
border-color css
<style>
span { border-color: #28257D; }
span { border-color: rgb(40,37,125); }
td.TdClassName
{
border-color: #28257D;
}
.TagClassName
{
border-color: #28257D;
}
</style>