Shades of Persian Indigo #31158C
Tints of Persian Indigo #31158C
RGB
CMYK
RGB Variations
Color information
#31158C (or 0x31158C) is known color: Persian Indigo. HEX triplet: 31, 15 and 8C. RGB value is (49,21,140). Sum of RGB (Red+Green+Blue) = 49+21+140=210 (27% of max value = 765). Red value is 49 (19.53% from 255 or 23.33% from 210); Green value is 21 (8.59% from 255 or 10% from 210); Blue value is 140 (55.08% from 255 or 66.67% from 210); Max value from RGB is 140 - color contains mainly: blue. Hex color #31158C is not a web safe color. Web safe color analog (approx): #330099. Inversed color of #31158C is #CEEA73. Grayscale: #2A2A2A. Windows color (decimal): -13560436 or 9180465. OLE color: 9180465.
HSL color Cylindrical-coordinate representation of color #31158C: hue angle of 254.12º degrees, saturation: 0.74, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #31158C is Cyan = 0.65, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 49 | 21 | 140 | - |
| CMYK | 0.65 | 0.85 | 0 | 0.45 |
| HSL | 254.12º | 0.74% | 0.32% | - |
| HSV(B) | 254.12º | 0.85% | 0.55% | - |
| XYZ | 6.27 | 3.08 | 25.08 | - |
| YUV | 42.94 | 182.78 | 132.32 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 49 | 21 | 140 | 0.65 | 0.85 | 0 | 0.45 | 254.12 | 0.74 | 0.32 |
| Hex | 31 | 15 | 8C | 41 | 55 | 0 | 2D | FE | 4A | 20 |
| Octal | 61 | 25 | 214 | 101 | 125 | 0 | 55 | 376 | 112 | 40 |
| Binary | 110001 | 10101 | 10001100 | 1000001 | 1010101 | 0 | 101101 | 11111110 | 1001010 | 100000 |
Color Harmonies of #31158C
Complementary color
Monochromatic Colors of #31158C
Black with #31158C
Text Example
Text Example
White with #31158C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #31158C; }
p { color: rgb(49,21,140); }
H1.HeaderClassName
{
color: #31158C;
}
.AnyTagClassName
{
color: #31158C;
}
</style>
background-color css
<style>
a { background-color: #31158C; }
a { background-color: rgb(49,21,140); }
div.DivClassName
{
background-color: #31158C;
}
.BgClassName
{
background-color: #31158C;
}
</style>
border-color css
<style>
span { border-color: #31158C; }
span { border-color: rgb(49,21,140); }
td.TdClassName
{
border-color: #31158C;
}
.TagClassName
{
border-color: #31158C;
}
</style>