Shades of Persian Indigo #2A1F8C
Tints of Persian Indigo #2A1F8C
RGB
CMYK
RGB Variations
Color information
#2A1F8C (or 0x2A1F8C) is known color: Persian Indigo. HEX triplet: 2A, 1F and 8C. RGB value is (42,31,140). Sum of RGB (Red+Green+Blue) = 42+31+140=213 (28% of max value = 765). Red value is 42 (16.80% from 255 or 19.72% from 213); Green value is 31 (12.5% from 255 or 14.55% from 213); Blue value is 140 (55.08% from 255 or 65.73% from 213); Max value from RGB is 140 - color contains mainly: blue. Hex color #2A1F8C is not a web safe color. Web safe color analog (approx): #333399. Inversed color of #2A1F8C is #D5E073. Grayscale: #2E2E2E. Windows color (decimal): -14016628 or 9183018. OLE color: 9183018.
HSL color Cylindrical-coordinate representation of color #2A1F8C: hue angle of 246.06º degrees, saturation: 0.64, lightness: 0.34%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.78%. Process color model (Four color, CMYK) of #2A1F8C is Cyan = 0.7, Magento = 0.78, Yellow = 0 and Black (K on CMYK) = 0.45.
Color convert
| RGB | 42 | 31 | 140 | - |
| CMYK | 0.7 | 0.78 | 0 | 0.45 |
| HSL | 246.06º | 0.64% | 0.34% | - |
| HSV(B) | 246.06º | 0.78% | 0.55% | - |
| XYZ | 6.18 | 3.37 | 25.13 | - |
| YUV | 46.72 | 180.64 | 124.64 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 31 | 140 | 0.7 | 0.78 | 0 | 0.45 | 246.06 | 0.64 | 0.34 |
| Hex | 2A | 1F | 8C | 46 | 4E | 0 | 2D | F6 | 40 | 22 |
| Octal | 52 | 37 | 214 | 106 | 116 | 0 | 55 | 366 | 100 | 42 |
| Binary | 101010 | 11111 | 10001100 | 1000110 | 1001110 | 0 | 101101 | 11110110 | 1000000 | 100010 |
Color Harmonies of #2A1F8C
Complementary color
Monochromatic Colors of #2A1F8C
Black with #2A1F8C
Text Example
Text Example
White with #2A1F8C
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1F8C; }
p { color: rgb(42,31,140); }
H1.HeaderClassName
{
color: #2A1F8C;
}
.AnyTagClassName
{
color: #2A1F8C;
}
</style>
background-color css
<style>
a { background-color: #2A1F8C; }
a { background-color: rgb(42,31,140); }
div.DivClassName
{
background-color: #2A1F8C;
}
.BgClassName
{
background-color: #2A1F8C;
}
</style>
border-color css
<style>
span { border-color: #2A1F8C; }
span { border-color: rgb(42,31,140); }
td.TdClassName
{
border-color: #2A1F8C;
}
.TagClassName
{
border-color: #2A1F8C;
}
</style>