Shades of Persian Indigo #2A1F78
Tints of Persian Indigo #2A1F78
RGB
CMYK
RGB Variations
Color information
#2A1F78 (or 0x2A1F78) is known color: Persian Indigo. HEX triplet: 2A, 1F and 78. RGB value is (42,31,120). Sum of RGB (Red+Green+Blue) = 42+31+120=193 (25% of max value = 765). Red value is 42 (16.80% from 255 or 21.76% from 193); Green value is 31 (12.5% from 255 or 16.06% from 193); Blue value is 120 (47.27% from 255 or 62.18% from 193); Max value from RGB is 120 - color contains mainly: blue. Hex color #2A1F78 is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A1F78 is #D5E087. Grayscale: #2C2C2C. Windows color (decimal): -14016648 or 7872298. OLE color: 7872298.
HSL color Cylindrical-coordinate representation of color #2A1F78: hue angle of 247.42º degrees, saturation: 0.59, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.47% and HSV saturation: 0.74%. Process color model (Four color, CMYK) of #2A1F78 is Cyan = 0.65, Magento = 0.74, Yellow = 0 and Black (K on CMYK) = 0.53.
Color convert
| RGB | 42 | 31 | 120 | - |
| CMYK | 0.65 | 0.74 | 0 | 0.53 |
| HSL | 247.42º | 0.59% | 0.3% | - |
| HSV(B) | 247.42º | 0.74% | 0.47% | - |
| XYZ | 4.83 | 2.83 | 18.06 | - |
| YUV | 44.44 | 170.64 | 126.26 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 31 | 120 | 0.65 | 0.74 | 0 | 0.53 | 247.42 | 0.59 | 0.3 |
| Hex | 2A | 1F | 78 | 41 | 4A | 0 | 35 | F7 | 3B | 1E |
| Octal | 52 | 37 | 170 | 101 | 112 | 0 | 65 | 367 | 73 | 36 |
| Binary | 101010 | 11111 | 1111000 | 1000001 | 1001010 | 0 | 110101 | 11110111 | 111011 | 11110 |
Color Harmonies of #2A1F78
Complementary color
Monochromatic Colors of #2A1F78
Black with #2A1F78
Text Example
Text Example
White with #2A1F78
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1F78; }
p { color: rgb(42,31,120); }
H1.HeaderClassName
{
color: #2A1F78;
}
.AnyTagClassName
{
color: #2A1F78;
}
</style>
background-color css
<style>
a { background-color: #2A1F78; }
a { background-color: rgb(42,31,120); }
div.DivClassName
{
background-color: #2A1F78;
}
.BgClassName
{
background-color: #2A1F78;
}
</style>
border-color css
<style>
span { border-color: #2A1F78; }
span { border-color: rgb(42,31,120); }
td.TdClassName
{
border-color: #2A1F78;
}
.TagClassName
{
border-color: #2A1F78;
}
</style>