Shades of Persian Indigo #2A1F8A
Tints of Persian Indigo #2A1F8A
RGB
CMYK
RGB Variations
Color information
#2A1F8A (or 0x2A1F8A) is known color: Persian Indigo. HEX triplet: 2A, 1F and 8A. RGB value is (42,31,138). Sum of RGB (Red+Green+Blue) = 42+31+138=211 (27% of max value = 765). Red value is 42 (16.80% from 255 or 19.91% from 211); Green value is 31 (12.5% from 255 or 14.69% from 211); Blue value is 138 (54.30% from 255 or 65.40% from 211); Max value from RGB is 138 - color contains mainly: blue. Hex color #2A1F8A is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A1F8A is #D5E075. Grayscale: #2E2E2E. Windows color (decimal): -14016630 or 9051946. OLE color: 9051946.
HSL color Cylindrical-coordinate representation of color #2A1F8A: hue angle of 246.17º degrees, saturation: 0.63, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #2A1F8A is Cyan = 0.70, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 42 | 31 | 138 | - |
| CMYK | 0.70 | 0.78 | 0 | 0.46 |
| HSL | 246.17º | 0.63% | 0.33% | - |
| HSV(B) | 246.17º | 0.78% | 0.54% | - |
| XYZ | 6.03 | 3.31 | 24.37 | - |
| YUV | 46.49 | 179.64 | 124.8 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 31 | 138 | 0.70 | 0.78 | 0 | 0.46 | 246.17 | 0.63 | 0.33 |
| Hex | 2A | 1F | 8A | 46 | 4E | 0 | 2E | F6 | 3F | 21 |
| Octal | 52 | 37 | 212 | 106 | 116 | 0 | 56 | 366 | 77 | 41 |
| Binary | 101010 | 11111 | 10001010 | 1000110 | 1001110 | 0 | 101110 | 11110110 | 111111 | 100001 |
Color Harmonies of #2A1F8A
Complementary color
Monochromatic Colors of #2A1F8A
Black with #2A1F8A
Text Example
Text Example
White with #2A1F8A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1F8A; }
p { color: rgb(42,31,138); }
H1.HeaderClassName
{
color: #2A1F8A;
}
.AnyTagClassName
{
color: #2A1F8A;
}
</style>
background-color css
<style>
a { background-color: #2A1F8A; }
a { background-color: rgb(42,31,138); }
div.DivClassName
{
background-color: #2A1F8A;
}
.BgClassName
{
background-color: #2A1F8A;
}
</style>
border-color css
<style>
span { border-color: #2A1F8A; }
span { border-color: rgb(42,31,138); }
td.TdClassName
{
border-color: #2A1F8A;
}
.TagClassName
{
border-color: #2A1F8A;
}
</style>