Shades of Persian Indigo #42158A
Tints of Persian Indigo #42158A
RGB
CMYK
RGB Variations
Color information
#42158A (or 0x42158A) is known color: Persian Indigo. HEX triplet: 42, 15 and 8A. RGB value is (66,21,138). Sum of RGB (Red+Green+Blue) = 66+21+138=225 (29% of max value = 765). Red value is 66 (26.17% from 255 or 29.33% from 225); Green value is 21 (8.59% from 255 or 9.33% from 225); Blue value is 138 (54.30% from 255 or 61.33% from 225); Max value from RGB is 138 - color contains mainly: blue. Hex color #42158A is not a web safe color. Web safe color analog (approx): #330099. Inversed color of #42158A is #BDEA75. Grayscale: #2F2F2F. Windows color (decimal): -12446326 or 9049410. OLE color: 9049410.
HSL color Cylindrical-coordinate representation of color #42158A: hue angle of 263.08º degrees, saturation: 0.74, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.54% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #42158A is Cyan = 0.52, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.46.
Color convert
| RGB | 66 | 21 | 138 | - |
| CMYK | 0.52 | 0.85 | 0 | 0.46 |
| HSL | 263.08º | 0.74% | 0.31% | - |
| HSV(B) | 263.08º | 0.85% | 0.54% | - |
| XYZ | 7.1 | 3.53 | 24.35 | - |
| YUV | 47.79 | 178.91 | 140.99 | - |
| System | Red | Green | Blue | C | M | Y | K | H | S | L |
|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 66 | 21 | 138 | 0.52 | 0.85 | 0 | 0.46 | 263.08 | 0.74 | 0.31 |
| Hex | 42 | 15 | 8A | 34 | 55 | 0 | 2E | 107 | 4A | 1F |
| Octal | 102 | 25 | 212 | 64 | 125 | 0 | 56 | 407 | 112 | 37 |
| Binary | 1000010 | 10101 | 10001010 | 110100 | 1010101 | 0 | 101110 | 100000111 | 1001010 | 11111 |
Color Harmonies of #42158A
Complementary color
Monochromatic Colors of #42158A
Black with #42158A
Text Example
Text Example
White with #42158A
Text Example
Text Example
HTML Codes & Css Web design
color css
<style>
p { color: #42158A; }
p { color: rgb(66,21,138); }
H1.HeaderClassName
{
color: #42158A;
}
.AnyTagClassName
{
color: #42158A;
}
</style>
background-color css
<style>
a { background-color: #42158A; }
a { background-color: rgb(66,21,138); }
div.DivClassName
{
background-color: #42158A;
}
.BgClassName
{
background-color: #42158A;
}
</style>
border-color css
<style>
span { border-color: #42158A; }
span { border-color: rgb(66,21,138); }
td.TdClassName
{
border-color: #42158A;
}
.TagClassName
{
border-color: #42158A;
}
</style>