Shades of Persian Indigo #311798
Tints of Persian Indigo #311798
RGB
CMYK
RGB Variations
Color information
#311798 (or 0x311798) is known color: Persian Indigo. HEX triplet: 31, 17 and 98. RGB value is (49,23,152). Sum of RGB (Red+Green+Blue) = 49+23+152=224 (29% of max value = 765). Red value is 49 (19.53% from 255 or 21.88% from 224); Green value is 23 (9.38% from 255 or 10.27% from 224); Blue value is 152 (59.77% from 255 or 67.86% from 224); Max value from RGB is 152 - color contains mainly: blue. Hex color #311798 is not a web safe color. Web safe color analog (approx): #330099. Inversed color of #311798 is #CEE867. Grayscale: #2C2C2C. Windows color (decimal): -13559912 or 9967409. OLE color: 9967409.
HSL color Cylindrical-coordinate representation of color #311798: hue angle of 252.09º degrees, saturation: 0.74, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.6% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #311798 is Cyan = 0.68, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.40.
Color convert
| RGB | 49 | 23 | 152 | - |
| CMYK | 0.68 | 0.85 | 0 | 0.40 |
| HSL | 252.09º | 0.74% | 0.34% | - |
| HSV(B) | 252.09º | 0.85% | 0.6% | - |
| XYZ | 7.24 | 3.53 | 30.01 | - |
| YUV | 45.48 | 188.11 | 130.51 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 49 | 23 | 152 | 0.68 | 0.85 | 0 | 0.40 | 252.09 | 0.74 | 0.34 |
| Hex | 31 | 17 | 98 | 44 | 55 | 0 | 28 | FC | 4A | 22 |
| Octal | 61 | 27 | 230 | 104 | 125 | 0 | 50 | 374 | 112 | 42 |
| Binary | 110001 | 10111 | 10011000 | 1000100 | 1010101 | 0 | 101000 | 11111100 | 1001010 | 100010 |
Color Harmonies of #311798
Complementary color
Monochromatic Colors of #311798
Black with #311798
Text Example
Text Example
White with #311798
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #311798; }
p { color: rgb(49,23,152); }
H1.HeaderClassName
{
color: #311798;
}
.AnyTagClassName
{
color: #311798;
}
</style>
background-color css
<style>
a { background-color: #311798; }
a { background-color: rgb(49,23,152); }
div.DivClassName
{
background-color: #311798;
}
.BgClassName
{
background-color: #311798;
}
</style>
border-color css
<style>
span { border-color: #311798; }
span { border-color: rgb(49,23,152); }
td.TdClassName
{
border-color: #311798;
}
.TagClassName
{
border-color: #311798;
}
</style>