Shades of Persian Indigo #2A1F7D
Tints of Persian Indigo #2A1F7D
RGB
CMYK
RGB Variations
Color information
#2A1F7D (or 0x2A1F7D) is known color: Persian Indigo. HEX triplet: 2A, 1F and 7D. RGB value is (42,31,125). Sum of RGB (Red+Green+Blue) = 42+31+125=198 (26% of max value = 765). Red value is 42 (16.80% from 255 or 21.21% from 198); Green value is 31 (12.5% from 255 or 15.66% from 198); Blue value is 125 (49.22% from 255 or 63.13% from 198); Max value from RGB is 125 - color contains mainly: blue. Hex color #2A1F7D is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A1F7D is #D5E082. Grayscale: #2C2C2C. Windows color (decimal): -14016643 or 8199978. OLE color: 8199978.
HSL color Cylindrical-coordinate representation of color #2A1F7D: hue angle of 247.02º degrees, saturation: 0.6, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.49% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #2A1F7D is Cyan = 0.66, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.51.
Color convert
| RGB | 42 | 31 | 125 | - |
| CMYK | 0.66 | 0.75 | 0 | 0.51 |
| HSL | 247.02º | 0.6% | 0.31% | - |
| HSV(B) | 247.02º | 0.75% | 0.49% | - |
| XYZ | 5.15 | 2.95 | 19.7 | - |
| YUV | 45.01 | 173.14 | 125.86 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 31 | 125 | 0.66 | 0.75 | 0 | 0.51 | 247.02 | 0.6 | 0.31 |
| Hex | 2A | 1F | 7D | 42 | 4B | 0 | 33 | F7 | 3C | 1F |
| Octal | 52 | 37 | 175 | 102 | 113 | 0 | 63 | 367 | 74 | 37 |
| Binary | 101010 | 11111 | 1111101 | 1000010 | 1001011 | 0 | 110011 | 11110111 | 111100 | 11111 |
Color Harmonies of #2A1F7D
Complementary color
Monochromatic Colors of #2A1F7D
Black with #2A1F7D
Text Example
Text Example
White with #2A1F7D
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1F7D; }
p { color: rgb(42,31,125); }
H1.HeaderClassName
{
color: #2A1F7D;
}
.AnyTagClassName
{
color: #2A1F7D;
}
</style>
background-color css
<style>
a { background-color: #2A1F7D; }
a { background-color: rgb(42,31,125); }
div.DivClassName
{
background-color: #2A1F7D;
}
.BgClassName
{
background-color: #2A1F7D;
}
</style>
border-color css
<style>
span { border-color: #2A1F7D; }
span { border-color: rgb(42,31,125); }
td.TdClassName
{
border-color: #2A1F7D;
}
.TagClassName
{
border-color: #2A1F7D;
}
</style>