Shades of Persian Indigo #2A1F7B
Tints of Persian Indigo #2A1F7B
RGB
CMYK
RGB Variations
Color information
#2A1F7B (or 0x2A1F7B) is known color: Persian Indigo. HEX triplet: 2A, 1F and 7B. RGB value is (42,31,123). Sum of RGB (Red+Green+Blue) = 42+31+123=196 (25% of max value = 765). Red value is 42 (16.80% from 255 or 21.43% from 196); Green value is 31 (12.5% from 255 or 15.82% from 196); Blue value is 123 (48.44% from 255 or 62.76% from 196); Max value from RGB is 123 - color contains mainly: blue. Hex color #2A1F7B is not a web safe color. Web safe color analog (approx): #333366. Inversed color of #2A1F7B is #D5E084. Grayscale: #2C2C2C. Windows color (decimal): -14016645 or 8068906. OLE color: 8068906.
HSL color Cylindrical-coordinate representation of color #2A1F7B: hue angle of 247.17º degrees, saturation: 0.6, lightness: 0.3%. HSV value (or HSB Brightness) of color is 0.48% and HSV saturation: 0.75%. Process color model (Four color, CMYK) of #2A1F7B is Cyan = 0.66, Magento = 0.75, Yellow = 0 and Black (K on CMYK) = 0.52.
Color convert
| RGB | 42 | 31 | 123 | - |
| CMYK | 0.66 | 0.75 | 0 | 0.52 |
| HSL | 247.17º | 0.6% | 0.3% | - |
| HSV(B) | 247.17º | 0.75% | 0.48% | - |
| XYZ | 5.02 | 2.9 | 19.03 | - |
| YUV | 44.78 | 172.14 | 126.02 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 42 | 31 | 123 | 0.66 | 0.75 | 0 | 0.52 | 247.17 | 0.6 | 0.3 |
| Hex | 2A | 1F | 7B | 42 | 4B | 0 | 34 | F7 | 3C | 1E |
| Octal | 52 | 37 | 173 | 102 | 113 | 0 | 64 | 367 | 74 | 36 |
| Binary | 101010 | 11111 | 1111011 | 1000010 | 1001011 | 0 | 110100 | 11110111 | 111100 | 11110 |
Color Harmonies of #2A1F7B
Complementary color
Monochromatic Colors of #2A1F7B
Black with #2A1F7B
Text Example
Text Example
White with #2A1F7B
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #2A1F7B; }
p { color: rgb(42,31,123); }
H1.HeaderClassName
{
color: #2A1F7B;
}
.AnyTagClassName
{
color: #2A1F7B;
}
</style>
background-color css
<style>
a { background-color: #2A1F7B; }
a { background-color: rgb(42,31,123); }
div.DivClassName
{
background-color: #2A1F7B;
}
.BgClassName
{
background-color: #2A1F7B;
}
</style>
border-color css
<style>
span { border-color: #2A1F7B; }
span { border-color: rgb(42,31,123); }
td.TdClassName
{
border-color: #2A1F7B;
}
.TagClassName
{
border-color: #2A1F7B;
}
</style>