Shades of Midnight Blue #281E7E
Tints of Midnight Blue #281E7E
RGB
CMYK
RGB Variations
Color information
#281E7E (or 0x281E7E) is known color: Midnight Blue. HEX triplet: 28, 1E and 7E. RGB value is (40,30,126). Sum of RGB (Red+Green+Blue) = 40+30+126=196 (25% of max value = 765). Red value is 40 (16.02% from 255 or 20.41% from 196); Green value is 30 (12.11% from 255 or 15.31% from 196); Blue value is 126 (49.61% from 255 or 64.29% from 196); Max value from RGB is 126 - color contains mainly: blue. Hex color #281E7E is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #281E7E is #D7E181. Grayscale: #2B2B2B. Windows color (decimal): -14147970 or 8265256. OLE color: 8265256.
HSL color Cylindrical-coordinate representation of color #281E7E: hue angle of 246.25º degrees, saturation: 0.62, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.76%. Process color model (Four color, CMYK) of #281E7E is Cyan = 0.68, Magento = 0.76, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 40 | 30 | 126 | - |
| CMYK | 0.68 | 0.76 | 0 | 0.51 |
| HSL | 246.25º | 0.62% | 0.31% | - |
| HSV(B) | 246.25º | 0.76% | 0.49% | - |
| XYZ | 5.11 | 2.89 | 20.03 | - |
| YUV | 43.93 | 174.31 | 125.19 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 40 | 30 | 126 | 0.68 | 0.76 | 0 | 0.51 | 246.25 | 0.62 | 0.31 |
| Hex | 28 | 1E | 7E | 44 | 4C | 0 | 33 | F6 | 3E | 1F |
| Octal | 50 | 36 | 176 | 104 | 114 | 0 | 63 | 366 | 76 | 37 |
| Binary | 101000 | 11110 | 1111110 | 1000100 | 1001100 | 0 | 110011 | 11110110 | 111110 | 11111 |
Color Harmonies of #281E7E
Complementary color
Monochromatic Colors of #281E7E
Black with #281E7E
Text Example
Text Example
White with #281E7E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #281E7E; }
p { color: rgb(40,30,126); }
H1.HeaderClassName
{
color: #281E7E;
}
.AnyTagClassName
{
color: #281E7E;
}
</style>
background-color css
<style>
a { background-color: #281E7E; }
a { background-color: rgb(40,30,126); }
div.DivClassName
{
background-color: #281E7E;
}
.BgClassName
{
background-color: #281E7E;
}
</style>
border-color css
<style>
span { border-color: #281E7E; }
span { border-color: rgb(40,30,126); }
td.TdClassName
{
border-color: #281E7E;
}
.TagClassName
{
border-color: #281E7E;
}
</style>