Html Css Color HEX #2A1787 Persian Indigo

📋 copy color: '#2A1787'

red 42 ◦ green 23 ◦ blue 135

#2A1787
Download Color Icon.PNG:
16x16 32x32 64x64 128x128 256x256

Shades of Persian Indigo #2A1787

Tints of Persian Indigo #2A1787

RGB

 RED value IS 42 (16.8% from 255) = 21%

 GREEN value IS 23 (9.38% from 255) = 11.5%

 BLUE value IS 135 (53.13% from 255) = 67.5%

R = 21%
G = 11.5%
B = 67.5%

CMYK

 C value IS 0.69

 M value IS 0.83

 Y value IS 0

 K value IS 0.47

RGB Variations

RGB:
RBG:
GRB:
GBR:
BRG:
BGR:

Color information

#2A1787 (or 0x2A1787) is known color: Persian Indigo. HEX triplet: 2A, 17 and 87. RGB value is (42,23,135). Sum of RGB (Red+Green+Blue) = 42+23+135=200 (26% of max value = 765). Red value is 42 (16.80% from 255 or 21% from 200); Green value is 23 (9.38% from 255 or 11.5% from 200); Blue value is 135 (53.12% from 255 or 67.5% from 200); Max value from RGB is 135 - color contains mainly: blue. Hex color #2A1787 is not a web safe color. Web safe color analog (approx): #330099. Inversed color of #2A1787 is #D5E878. Grayscale: #292929. Windows color (decimal): -14018681 or 8853290. OLE color: 8853290.

HSL color Cylindrical-coordinate representation of color #2A1787: hue angle of 250.18º degrees, saturation: 0.71, lightness: 0.31%. HSV value (or HSB Brightness) of color is 0.53% and HSV saturation: 0.83%. Process color model (Four color, CMYK) of #2A1787 is Cyan = 0.69, Magento = 0.83, Yellow = 0 and Black (K on CMYK) = 0.47.

Color convert

RGB 42 23 135 -
CMYK 0.69 0.83 0 0.47
HSL 250.18º 0.71% 0.31% -
HSV(B) 250.18º 0.83% 0.53% -
XYZ 5.63 2.85 23.18 -
YUV 41.45 180.79 128.39 -
System Red Green Blue C M Y K H S L
Decimal 42 23 135 0.69 0.83 0 0.47 250.18 0.71 0.31
Hex 2A 17 87 45 53 0 2F FA 47 1F
Octal 52 27 207 105 123 0 57 372 107 37
Binary 101010 10111 10000111 1000101 1010011 0 101111 11111010 1000111 11111

Color Harmonies of #2A1787

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #2A1787

Black with #2A1787

Text Example


Text Example

White with #2A1787

Text Example


Text Example

HTML Codes & Css Web design

color css

<style>
 p { color: #2A1787; }

 p { color: rgb(42,23,135); }

 H1.HeaderClassName
 {
   color: #2A1787;
 }
 .AnyTagClassName
 {
   color: #2A1787;
 }
</style>

background-color css

<style>
 a { background-color: #2A1787; }

 a { background-color: rgb(42,23,135); }

 div.DivClassName
 {
   background-color: #2A1787;
 }
 .BgClassName
 {
   background-color: #2A1787;
 }
</style>

border-color css

<style>
 span { border-color: #2A1787; }

 span { border-color: rgb(42,23,135); }

 td.TdClassName
 {
   border-color: #2A1787;
 }
 .TagClassName
 {
   border-color: #2A1787;
 }
</style>