Shades of Midnight Blue #28217B
Tints of Midnight Blue #28217B
RGB
CMYK
RGB Variations
Color information
#28217B (or 0x28217B) is known color: Midnight Blue. HEX triplet: 28, 21 and 7B. RGB value is (40,33,123). Sum of RGB (Red+Green+Blue) = 40+33+123=196 (25% of max value = 765). Red value is 40 (16.02% from 255 or 20.41% from 196); Green value is 33 (13.28% from 255 or 16.84% from 196); Blue value is 123 (48.44% from 255 or 62.76% from 196); Max value from RGB is 123 - color contains mainly: blue. Hex color #28217B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #28217B is #D7DE84. Grayscale: #2D2D2D. Windows color (decimal): -14147205 or 8069416. OLE color: 8069416.
HSL color Cylindrical-coordinate representation of color #28217B: hue angle of 244.67º degrees, saturation: 0.58, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.73%. Process color model (Four color, CMYK) of #28217B is Cyan = 0.67, Magento = 0.73, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 40 | 33 | 123 | - |
| CMYK | 0.67 | 0.73 | 0 | 0.52 |
| HSL | 244.67º | 0.58% | 0.31% | - |
| HSV(B) | 244.67º | 0.73% | 0.48% | - |
| XYZ | 4.99 | 2.97 | 19.05 | - |
| YUV | 45.35 | 171.82 | 124.18 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 33 | 123 | 0.67 | 0.73 | 0 | 0.52 | 244.67 | 0.58 | 0.31 |
| Hex | 28 | 21 | 7B | 43 | 49 | 0 | 34 | F5 | 3A | 1F |
| Octal | 50 | 41 | 173 | 103 | 111 | 0 | 64 | 365 | 72 | 37 |
| Binary | 101000 | 100001 | 1111011 | 1000011 | 1001001 | 0 | 110100 | 11110101 | 111010 | 11111 |
Color Harmonies of #28217B
Complementary color
Monochromatic Colors of #28217B
Black with #28217B
Text Example
Text Example
White with #28217B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #28217B; }
p { color: rgb(40,33,123); }
H1.HeaderClassName
{
color: #28217B;
}
.AnyTagClassName
{
color: #28217B;
}
</style>
background-color css
<style>
a { background-color: #28217B; }
a { background-color: rgb(40,33,123); }
div.DivClassName
{
background-color: #28217B;
}
.BgClassName
{
background-color: #28217B;
}
</style>
border-color css
<style>
span { border-color: #28217B; }
span { border-color: rgb(40,33,123); }
td.TdClassName
{
border-color: #28217B;
}
.TagClassName
{
border-color: #28217B;
}
</style>