Shades of Midnight Blue #28227A
Tints of Midnight Blue #28227A
RGB
CMYK
RGB Variations
Color information
#28227A (or 0x28227A) is known color: Midnight Blue. HEX triplet: 28, 22 and 7A. RGB value is (40,34,122). Sum of RGB (Red+Green+Blue) = 40+34+122=196 (25% of max value = 765). Red value is 40 (16.02% from 255 or 20.41% from 196); Green value is 34 (13.67% from 255 or 17.35% from 196); Blue value is 122 (48.05% from 255 or 62.24% from 196); Max value from RGB is 122 - color contains mainly: blue. Hex color #28227A is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28227A is #D7DD85. Grayscale: #2D2D2D. Windows color (decimal): -14146950 or 8004136. OLE color: 8004136.
HSL color Cylindrical-coordinate representation of color #28227A: hue angle of 244.09º degrees, saturation: 0.56, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.72%. Process color model (Four color, CMYK) of #28227A is Cyan = 0.67, Magento = 0.72, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 40 | 34 | 122 | - |
| CMYK | 0.67 | 0.72 | 0 | 0.52 |
| HSL | 244.09º | 0.56% | 0.31% | - |
| HSV(B) | 244.09º | 0.72% | 0.48% | - |
| XYZ | 4.96 | 3 | 18.73 | - |
| YUV | 45.83 | 170.99 | 123.84 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 34 | 122 | 0.67 | 0.72 | 0 | 0.52 | 244.09 | 0.56 | 0.31 |
| Hex | 28 | 22 | 7A | 43 | 48 | 0 | 34 | F4 | 38 | 1F |
| Octal | 50 | 42 | 172 | 103 | 110 | 0 | 64 | 364 | 70 | 37 |
| Binary | 101000 | 100010 | 1111010 | 1000011 | 1001000 | 0 | 110100 | 11110100 | 111000 | 11111 |
Color Harmonies of #28227A
Complementary color
Monochromatic Colors of #28227A
Black with #28227A
Text Example
Text Example
White with #28227A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28227A; }
p { color: rgb(40,34,122); }
H1.HeaderClassName
{
color: #28227A;
}
.AnyTagClassName
{
color: #28227A;
}
</style>
background-color css
<style>
a { background-color: #28227A; }
a { background-color: rgb(40,34,122); }
div.DivClassName
{
background-color: #28227A;
}
.BgClassName
{
background-color: #28227A;
}
</style>
border-color css
<style>
span { border-color: #28227A; }
span { border-color: rgb(40,34,122); }
td.TdClassName
{
border-color: #28227A;
}
.TagClassName
{
border-color: #28227A;
}
</style>