Shades of Persian Indigo #2A1271
Tints of Persian Indigo #2A1271
RGB
CMYK
RGB Variations
Color information
#2A1271 (or 0x2A1271) is known color: Persian Indigo. HEX triplet: 2A, 12 and 71. RGB value is (42,18,113). Sum of RGB (Red+Green+Blue) = 42+18+113=173 (22% of max value = 765). Red value is 42 (16.80% from 255 or 24.28% from 173); Green value is 18 (7.42% from 255 or 10.40% from 173); Blue value is 113 (44.53% from 255 or 65.32% from 173); Max value from RGB is 113 - color contains mainly: blue. Hex color #2A1271 is not a web safe color. Web safe color analog (approx): #330066. Inversed color of #2A1271 is #D5ED8E. Grayscale: #232323. Windows color (decimal): -14019983 or 7410218. OLE color: 7410218.
HSL color Cylindrical-coordinate representation of color #2A1271: hue angle of 255.16º degrees, saturation: 0.73, lightness: 0.26%. HSV value (or HSB Brightness) of color is 0.44% and HSV saturation: 0.84%. Process color model (Four color, CMYK) of #2A1271 is Cyan = 0.63, Magento = 0.84, Yellow = 0 and Black (K on CMYK) = 0.56.
Color convert
| RGB | 42 | 18 | 113 | - |
| CMYK | 0.63 | 0.84 | 0 | 0.56 |
| HSL | 255.16º | 0.73% | 0.26% | - |
| HSV(B) | 255.16º | 0.84% | 0.44% | - |
| XYZ | 4.15 | 2.12 | 15.81 | - |
| YUV | 36.01 | 171.45 | 132.28 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 18 | 113 | 0.63 | 0.84 | 0 | 0.56 | 255.16 | 0.73 | 0.26 |
| Hex | 2A | 12 | 71 | 3F | 54 | 0 | 38 | FF | 49 | 1A |
| Octal | 52 | 22 | 161 | 77 | 124 | 0 | 70 | 377 | 111 | 32 |
| Binary | 101010 | 10010 | 1110001 | 111111 | 1010100 | 0 | 111000 | 11111111 | 1001001 | 11010 |
Color Harmonies of #2A1271
Complementary color
Monochromatic Colors of #2A1271
Black with #2A1271
Text Example
Text Example
White with #2A1271
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1271; }
p { color: rgb(42,18,113); }
H1.HeaderClassName
{
color: #2A1271;
}
.AnyTagClassName
{
color: #2A1271;
}
</style>
background-color css
<style>
a { background-color: #2A1271; }
a { background-color: rgb(42,18,113); }
div.DivClassName
{
background-color: #2A1271;
}
.BgClassName
{
background-color: #2A1271;
}
</style>
border-color css
<style>
span { border-color: #2A1271; }
span { border-color: rgb(42,18,113); }
td.TdClassName
{
border-color: #2A1271;
}
.TagClassName
{
border-color: #2A1271;
}
</style>