Shades of Persian Indigo #2A1A8B
Tints of Persian Indigo #2A1A8B
RGB
CMYK
RGB Variations
Color information
#2A1A8B (or 0x2A1A8B) is known color: Persian Indigo. HEX triplet: 2A, 1A and 8B. RGB value is (42,26,139). Sum of RGB (Red+Green+Blue) = 42+26+139=207 (27% of max value = 765). Red value is 42 (16.80% from 255 or 20.29% from 207); Green value is 26 (10.55% from 255 or 12.56% from 207); Blue value is 139 (54.69% from 255 or 67.15% from 207); Max value from RGB is 139 - color contains mainly: blue. Hex color #2A1A8B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A1A8B is #D5E574. Grayscale: #2B2B2B. Windows color (decimal): -14017909 or 9116202. OLE color: 9116202.
HSL color Cylindrical-coordinate representation of color #2A1A8B: hue angle of 248.5º degrees, saturation: 0.68, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.81%. Process color model (Four color, CMYK) of #2A1A8B is Cyan = 0.70, Magento = 0.81, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 42 | 26 | 139 | - |
| CMYK | 0.70 | 0.81 | 0 | 0.45 |
| HSL | 248.5º | 0.68% | 0.32% | - |
| HSV(B) | 248.5º | 0.81% | 0.55% | - |
| XYZ | 5.98 | 3.1 | 24.71 | - |
| YUV | 43.67 | 181.8 | 126.81 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 26 | 139 | 0.70 | 0.81 | 0 | 0.45 | 248.5 | 0.68 | 0.32 |
| Hex | 2A | 1A | 8B | 46 | 51 | 0 | 2D | F8 | 44 | 20 |
| Octal | 52 | 32 | 213 | 106 | 121 | 0 | 55 | 370 | 104 | 40 |
| Binary | 101010 | 11010 | 10001011 | 1000110 | 1010001 | 0 | 101101 | 11111000 | 1000100 | 100000 |
Color Harmonies of #2A1A8B
Complementary color
Monochromatic Colors of #2A1A8B
Black with #2A1A8B
Text Example
Text Example
White with #2A1A8B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1A8B; }
p { color: rgb(42,26,139); }
H1.HeaderClassName
{
color: #2A1A8B;
}
.AnyTagClassName
{
color: #2A1A8B;
}
</style>
background-color css
<style>
a { background-color: #2A1A8B; }
a { background-color: rgb(42,26,139); }
div.DivClassName
{
background-color: #2A1A8B;
}
.BgClassName
{
background-color: #2A1A8B;
}
</style>
border-color css
<style>
span { border-color: #2A1A8B; }
span { border-color: rgb(42,26,139); }
td.TdClassName
{
border-color: #2A1A8B;
}
.TagClassName
{
border-color: #2A1A8B;
}
</style>