Html Css Color HEX #2A158C Persian Indigo

📋 copy color: '#2A158C'

red 42 ◦ green 21 ◦ blue 140

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

Shades of Persian Indigo #2A158C

Tints of Persian Indigo #2A158C

RGB

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

 GREEN value IS 21 (8.59% from 255) = 10.34%

 BLUE value IS 140 (55.08% from 255) = 68.97%

R = 20.69%
G = 10.34%
B = 68.97%

CMYK

 C value IS 0.7

 M value IS 0.85

 Y value IS 0

 K value IS 0.45

RGB Variations

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

Color information

#2A158C (or 0x2A158C) is known color: Persian Indigo. HEX triplet: 2A, 15 and 8C. RGB value is (42,21,140). Sum of RGB (Red+Green+Blue) = 42+21+140=203 (26% of max value = 765). Red value is 42 (16.80% from 255 or 20.69% from 203); Green value is 21 (8.59% from 255 or 10.34% from 203); Blue value is 140 (55.08% from 255 or 68.97% from 203); Max value from RGB is 140 - color contains mainly: blue. Hex color #2A158C is not a web safe color. Web safe color analog (approx): #330099. Inversed color of #2A158C is #D5EA73. Grayscale: #282828. Windows color (decimal): -14019188 or 9180458. OLE color: 9180458.

HSL color Cylindrical-coordinate representation of color #2A158C: hue angle of 250.59º degrees, saturation: 0.74, lightness: 0.32%. HSV value (or HSB Brightness) of color is 0.55% and HSV saturation: 0.85%. Process color model (Four color, CMYK) of #2A158C is Cyan = 0.7, Magento = 0.85, Yellow = 0 and Black (K on CMYK) = 0.45.

Color convert

RGB 42 21 140 -
CMYK 0.7 0.85 0 0.45
HSL 250.59º 0.74% 0.32% -
HSV(B) 250.59º 0.85% 0.55% -
XYZ 5.96 2.92 25.06 -
YUV 40.85 183.96 128.82 -
System Red Green Blue C M Y K H S L
Decimal 42 21 140 0.7 0.85 0 0.45 250.59 0.74 0.32
Hex 2A 15 8C 46 55 0 2D FB 4A 20
Octal 52 25 214 106 125 0 55 373 112 40
Binary 101010 10101 10001100 1000110 1010101 0 101101 11111011 1001010 100000

Color Harmonies of #2A158C

Triadic Colors

Analogous colors

Split complements colors

Complementary color

Monochromatic Colors of #2A158C

Black with #2A158C

Text Example


Text Example

White with #2A158C

Text Example


Text Example

HTML Codes & Css Web design

color css

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

 p { color: rgb(42,21,140); }

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

background-color css

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

 a { background-color: rgb(42,21,140); }

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

border-color css

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

 span { border-color: rgb(42,21,140); }

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