Shades of Midnight Blue #20287F
Tints of Midnight Blue #20287F
RGB
CMYK
RGB Variations
Color information
#20287F (or 0x20287F) is known color: Midnight Blue. HEX triplet: 20, 28 and 7F. RGB value is (32,40,127). Sum of RGB (Red+Green+Blue) = 32+40+127=199 (26% of max value = 765). Red value is 32 (12.89% from 255 or 16.08% from 199); Green value is 40 (16.02% from 255 or 20.10% from 199); Blue value is 127 (50% from 255 or 63.82% from 199); Max value from RGB is 127 - color contains mainly: blue. Hex color #20287F is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #20287F is #DFD780. Grayscale: #2F2F2F. Windows color (decimal): -14669697 or 8333344. OLE color: 8333344.
HSL color Cylindrical-coordinate representation of color #20287F: hue angle of 234.95º degrees, saturation: 0.6, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.5% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #20287F is Cyan = 0.75, Magento = 0.69, Yellow = 0 and Black (K on CMYK) = 0.50.
Color convert
| RGB | 32 | 40 | 127 | - |
| CMYK | 0.75 | 0.69 | 0 | 0.50 |
| HSL | 234.95º | 0.6% | 0.31% | - |
| HSV(B) | 234.95º | 0.75% | 0.5% | - |
| XYZ | 5.19 | 3.36 | 20.45 | - |
| YUV | 47.53 | 172.85 | 116.93 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 32 | 40 | 127 | 0.75 | 0.69 | 0 | 0.50 | 234.95 | 0.6 | 0.31 |
| Hex | 20 | 28 | 7F | 4B | 45 | 0 | 32 | EB | 3C | 1F |
| Octal | 40 | 50 | 177 | 113 | 105 | 0 | 62 | 353 | 74 | 37 |
| Binary | 100000 | 101000 | 1111111 | 1001011 | 1000101 | 0 | 110010 | 11101011 | 111100 | 11111 |
Color Harmonies of #20287F
Complementary color
Monochromatic Colors of #20287F
Black with #20287F
Text Example
Text Example
White with #20287F
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #20287F; }
p { color: rgb(32,40,127); }
H1.HeaderClassName
{
color: #20287F;
}
.AnyTagClassName
{
color: #20287F;
}
</style>
background-color css
<style>
a { background-color: #20287F; }
a { background-color: rgb(32,40,127); }
div.DivClassName
{
background-color: #20287F;
}
.BgClassName
{
background-color: #20287F;
}
</style>
border-color css
<style>
span { border-color: #20287F; }
span { border-color: rgb(32,40,127); }
td.TdClassName
{
border-color: #20287F;
}
.TagClassName
{
border-color: #20287F;
}
</style>