Shades of Persian Indigo #2A1F8B
Tints of Persian Indigo #2A1F8B
RGB
CMYK
RGB Variations
Color information
#2A1F8B (or 0x2A1F8B) is known color: Persian Indigo. HEX triplet: 2A, 1F and 8B. RGB value is (42,31,139). Sum of RGB (Red+Green+Blue) = 42+31+139=212 (28% of max value = 765). Red value is 42 (16.80% from 255 or 19.81% from 212); Green value is 31 (12.5% from 255 or 14.62% from 212); Blue value is 139 (54.69% from 255 or 65.57% from 212); Max value from RGB is 139 - color contains mainly: blue. Hex color #2A1F8B is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A1F8B is #D5E074. Grayscale: #2E2E2E. Windows color (decimal): -14016629 or 9117482. OLE color: 9117482.
HSL color Cylindrical-coordinate representation of color #2A1F8B: hue angle of 246.11º degrees, saturation: 0.64, lightness: 0.33%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #2A1F8B is Cyan = 0.70, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 42 | 31 | 139 | - |
| CMYK | 0.70 | 0.78 | 0 | 0.45 |
| HSL | 246.11º | 0.64% | 0.33% | - |
| HSV(B) | 246.11º | 0.78% | 0.55% | - |
| XYZ | 6.11 | 3.34 | 24.75 | - |
| YUV | 46.6 | 180.14 | 124.72 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 31 | 139 | 0.70 | 0.78 | 0 | 0.45 | 246.11 | 0.64 | 0.33 |
| Hex | 2A | 1F | 8B | 46 | 4E | 0 | 2D | F6 | 40 | 21 |
| Octal | 52 | 37 | 213 | 106 | 116 | 0 | 55 | 366 | 100 | 41 |
| Binary | 101010 | 11111 | 10001011 | 1000110 | 1001110 | 0 | 101101 | 11110110 | 1000000 | 100001 |
Color Harmonies of #2A1F8B
Complementary color
Monochromatic Colors of #2A1F8B
Black with #2A1F8B
Text Example
Text Example
White with #2A1F8B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1F8B; }
p { color: rgb(42,31,139); }
H1.HeaderClassName
{
color: #2A1F8B;
}
.AnyTagClassName
{
color: #2A1F8B;
}
</style>
background-color css
<style>
a { background-color: #2A1F8B; }
a { background-color: rgb(42,31,139); }
div.DivClassName
{
background-color: #2A1F8B;
}
.BgClassName
{
background-color: #2A1F8B;
}
</style>
border-color css
<style>
span { border-color: #2A1F8B; }
span { border-color: rgb(42,31,139); }
td.TdClassName
{
border-color: #2A1F8B;
}
.TagClassName
{
border-color: #2A1F8B;
}
</style>