Shades of Persian Indigo #31157E
Tints of Persian Indigo #31157E
RGB
CMYK
RGB Variations
Color information
#31157E (or 0x31157E) is known color: Persian Indigo. HEX triplet: 31, 15 and 7E. RGB value is (49,21,126). Sum of RGB (Red+Green+Blue) = 49+21+126=196 (25% of max value = 765). Red value is 49 (19.53% from 255 or 25% from 196); Green value is 21 (8.59% from 255 or 10.71% 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 #31157E is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #31157E is #CEEA81. Grayscale: #282828. Windows color (decimal): -13560450 or 8262961. OLE color: 8262961.
HSL color Cylindrical-coordinate representation of color #31157E: hue angle of 256º degrees, saturation: 0.71, lightness: 0.29%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #31157E is Cyan = 0.61, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 49 | 21 | 126 | - |
| CMYK | 0.61 | 0.83 | 0 | 0.51 |
| HSL | 256º | 0.71% | 0.29% | - |
| HSV(B) | 256º | 0.83% | 0.49% | - |
| XYZ | 5.3 | 2.7 | 19.98 | - |
| YUV | 41.34 | 175.78 | 133.46 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 49 | 21 | 126 | 0.61 | 0.83 | 0 | 0.51 | 256 | 0.71 | 0.29 |
| Hex | 31 | 15 | 7E | 3D | 53 | 0 | 33 | 100 | 47 | 1D |
| Octal | 61 | 25 | 176 | 75 | 123 | 0 | 63 | 400 | 107 | 35 |
| Binary | 110001 | 10101 | 1111110 | 111101 | 1010011 | 0 | 110011 | 100000000 | 1000111 | 11101 |
Color Harmonies of #31157E
Complementary color
Monochromatic Colors of #31157E
Black with #31157E
Text Example
Text Example
White with #31157E
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #31157E; }
p { color: rgb(49,21,126); }
H1.HeaderClassName
{
color: #31157E;
}
.AnyTagClassName
{
color: #31157E;
}
</style>
background-color css
<style>
a { background-color: #31157E; }
a { background-color: rgb(49,21,126); }
div.DivClassName
{
background-color: #31157E;
}
.BgClassName
{
background-color: #31157E;
}
</style>
border-color css
<style>
span { border-color: #31157E; }
span { border-color: rgb(49,21,126); }
td.TdClassName
{
border-color: #31157E;
}
.TagClassName
{
border-color: #31157E;
}
</style>