COLOR #7042A2

HEX: #7042A2 RGB: (112,66,162)

Color info

#7042A2 contains mainly red and blue colors. Web safe color of #7042A2 is #663399 (or #639).

RGB color model

#7042A2 color RGB value is (112,66,162).

RGB: (112,66,162) (44%, 26%, 64%)

RGB channels and saturation

R 112 of 255 = 44%
G 66 of 255 = 26%
B 162 of 255 = 64%

112
66
162

R + G + B ~ 45%. #7042A2 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 112 + 66 + 162 = 340 (100%)
R 112 of 340 ~ 32.94%
G 66 of 340 ~ 19.41%
B 162 of 340 ~ 47.65'%

%32.94
%19.41
%47.65

CMYK color model

#7042A2 color CMYK value is (31,59,0,36).

  • cyan value is 30.86%
  • magenta value is 59.26%
  • yellow value is 0.00%
  • key color value is 36.47%

CMYK: (31,59,0,36)
C31M59Y0K36 (31%, 59%, 0%, 36%)
(0.31 / 0.59 / 0.00 / 0.36)

CMYK percentages

%30.86
%59.26
%0
%36.47

Codes

Color #7042A2 in popluar color models

70 42 A2
RGB 112 66 162
HSL 269° 42.11% 44.71%
HSB/HSV 269° 59.26% 63.53%
CMYK 30.86% 59.26% 0.00%
36.47%

Color #7042A2 in popluar number systems.

HEX 70 42 A2
Decimal 112 66 162
Binary 1110000 1000010 10100010
Octal 160 102 242

Shades and tints

Shades of #7042A2

#7042A2
(112,66,162)
#663C94
(102,60,148)
#5C3686
(92,54,134)
#523078
(82,48,120)
#482A6A
(72,42,106)
#3E245C
(62,36,92)
#341E4E
(52,30,78)
#2A1840
(42,24,64)
#201232
(32,18,50)
#160C24
(22,12,36)
#0C0616
(12,6,22)
#000000
(0,0,0)

Tints of #7042A2

#7042A2
(112,66,162)
#7D53AA
(125,83,170)
#8A64B2
(138,100,178)
#9775BA
(151,117,186)
#A486C2
(164,134,194)
#B197CA
(177,151,202)
#BEA8D2
(190,168,210)
#CBB9DA
(203,185,218)
#D8CAE2
(216,202,226)
#E5DBEA
(229,219,234)
#F2ECF2
(242,236,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7042A2 color. Also use rgb(112,66,162) instead hex code.

Text Font Color

.myTextColor { color: #7042A2; }

<p style="color:#7042A2">This sample text font color is #7042A2.</p>

This text font color is #7042A2.

Background Color

.myBgColor { background-color: #7042A2; }

<div style="background-color:#7042A2">Inner text</div>

This div background color is #7042A2.

Border color

.myBorderColor { border: 1px solid #7042A2; }

<div style="border:3px solid #7042A2">Div</div>

This div border color is #7042A2.

Opacity

.myOpacity80 { color: #7042A2; opacity: 0.8; }

<p style="color:#7042A2;opacity:0.8;">80%</p>

Text with #7042A2 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.
Background with opacity value 80%.
Background with opacity value 50%.
Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #7042A2;}

<p style="text-shadow: 3px 3px 1px #7042A2">Text here.</p>

This text has shadow with #7042A2 color.


.textShadow {text-shadow: 3px 3px 1px #7042A2', 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #7042A2, 5px 5px 20px red">Text here.</p>

This text has shadow with #7042A2 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#7042A2, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#7042A2, Direction=45, Strength=4)">Text</p>

This text has shadow with #7042A2 and red colors in old Internet Explorer.

Div box shadow color

/* css code */
.divShadow
{
-moz-box-shadow: 1px 1px 3px 2px #7042A2;
-webkit-box-shadow: 1px 1px 3px 2px #7042A2;
box-shadow: 1px 1px 3px 2px #7042A2;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #7042A2; -webkit-box-shadow: 1px 1px 3px 2px #7042A2; box-shadow:1px 1px 3px 2px #7042A2;">
Div content here
</div>

This div box has shadow with color #7042A2.

Preview

Color preview on black background

This text has color #7042A2 on black background.


Color preview on white background

This text has color #7042A2 on white background.


Black color preview on #7042A2 background

This text has black color on #7042A2 background.


White color preview on #7042A2 background

This text has white color on #7042A2 background.


Related colors

Complementary color

Complementary color for #hex is #8FBD5D.


I love getcolorcode.com

Triadic colors

1 #A27042 and #42A270 with #7042A2 are triadic colors.

2 #A24270 and #4270A2 with #7042A2 are triadic colors.