Shades of Midnight Blue #28226F
Tints of Midnight Blue #28226F
RGB
CMYK
RGB Variations
Color information
#28226F (or 0x28226F) is known color: Midnight Blue. HEX triplet: 28, 22 and 6F. RGB value is (40,34,111). Sum of RGB (Red+Green+Blue) = 40+34+111=185 (24% of max value = 765). Red value is 40 (16.02% from 255 or 21.62% from 185); Green value is 34 (13.67% from 255 or 18.38% from 185); Blue value is 111 (43.75% from 255 or 60% from 185); Max value from RGB is 111 - color contains mainly: blue. Hex color #28226F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28226F is #D7DD90. Grayscale: #2C2C2C. Windows color (decimal): -14146961 or 7283240. OLE color: 7283240.
HSL color Cylindrical-coordinate representation of color #28226F: hue angle of 244.68º degrees, saturation: 0.53, lightness: 0.28%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.69%. Process color model (Four color, CMYK) of #28226F is Cyan = 0.64, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 40 | 34 | 111 | - |
| CMYK | 0.64 | 0.69 | 0 | 0.56 |
| HSL | 244.68º | 0.53% | 0.28% | - |
| HSV(B) | 244.68º | 0.69% | 0.44% | - |
| XYZ | 4.32 | 2.74 | 15.34 | - |
| YUV | 44.57 | 165.49 | 124.74 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 34 | 111 | 0.64 | 0.69 | 0 | 0.56 | 244.68 | 0.53 | 0.28 |
| Hex | 28 | 22 | 6F | 40 | 45 | 0 | 38 | F5 | 35 | 1C |
| Octal | 50 | 42 | 157 | 100 | 105 | 0 | 70 | 365 | 65 | 34 |
| Binary | 101000 | 100010 | 1101111 | 1000000 | 1000101 | 0 | 111000 | 11110101 | 110101 | 11100 |
Color Harmonies of #28226F
Complementary color
Monochromatic Colors of #28226F
Black with #28226F
Text Example
Text Example
White with #28226F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28226F; }
p { color: rgb(40,34,111); }
H1.HeaderClassName
{
color: #28226F;
}
.AnyTagClassName
{
color: #28226F;
}
</style>
background-color css
<style>
a { background-color: #28226F; }
a { background-color: rgb(40,34,111); }
div.DivClassName
{
background-color: #28226F;
}
.BgClassName
{
background-color: #28226F;
}
</style>
border-color css
<style>
span { border-color: #28226F; }
span { border-color: rgb(40,34,111); }
td.TdClassName
{
border-color: #28226F;
}
.TagClassName
{
border-color: #28226F;
}
</style>