COLOR #7040A0

HEX: #7040A0
RGB: (112,64,160)

Color info

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

RGB color model

#7040A0 color RGB value is (112,64,160).

  • red value is 112;
  • green value is 64;
  • blue value is 160.
RGB:
(112,64,160)
(44%,25%,63%)

RGB channels and saturation

R 112 of 255 = 44%
G 64 of 255 = 25%
B 160 of 255 = 63%

112
64
160

R + G + B ~ 44%. #7040A0 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
112 + 64 + 160 = 336 (100%)
R 112 of 336 ~ 33.33%
G 64 of 336 ~ 19.05%
B 160 of 336 ~ 47.62%

%33.33
%19.05
%47.62

CMYK color model

#7040A0 color CMYK value is (30,60,0,37).

  • cyan value is 30.00%
  • magenta value is 60.00%
  • yellow value is 0.00%
  • key color value is 37.25%
CMYK:
(30,60,0,37)
C30M60Y0K37 
(30%,60%,0%,37%)
(0.30/0.60/0.00/0.37)	

CMYK percentages

%30
%60
%0
%37.25

Codes

Color #7040A0 in popluar color models

7040A0
RGB11264160
HSL270°42.86%43.92%
HSB/HSV270°60.00%62.75%
CMYK30.00%60.00%0.00%
37.25%

Color #7040A0 in popluar number systems.

HEX7040A0
Decimal11264160
Binary1110000100000010100000
Octal160100240

Shades and tints

Shades of #7040A0

#7040A0
(112,64,160)
#663B92
(102,59,146)
#5C3684
(92,54,132)
#523176
(82,49,118)
#482C68
(72,44,104)
#3E275A
(62,39,90)
#34224C
(52,34,76)
#2A1D3E
(42,29,62)
#201830
(32,24,48)
#161322
(22,19,34)
#0C0E14
(12,14,20)
#000000
(0,0,0)

Tints of #7040A0

#7040A0
(112,64,160)
#7D51A8
(125,81,168)
#8A62B0
(138,98,176)
#9773B8
(151,115,184)
#A484C0
(164,132,192)
#B195C8
(177,149,200)
#BEA6D0
(190,166,208)
#CBB7D8
(203,183,216)
#D8C8E0
(216,200,224)
#E5D9E8
(229,217,232)
#F2EAF0
(242,234,240)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #7040A0 color. Also use rgb(112,64,160) instead hex code.

Text Font Color

.myTextColor { color: #7040A0; }

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

This text font color is #7040A0.


Background Color

.myBgColor { background-color: #7040A0; }

<div style="background-color:#7040A0">Inner text</div>

This div background color is #7040A0.


Border color

.myBorderColor { border: 1px solid #7040A0; }

<div style="border:3px solid #7040A0">Div</div>

This div border color is #7040A0.


Opacity

.myOpacity80 { color: #7040A0; opacity: 0.8; }

<p style="color:#7040A0;opacity:0.8;">80%</p>

Text with #7040A0 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 #7040A0;}

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

This text has shadow with #7040A0 color.

.textShadow {text-shadow: 3px 3px 1px #7040A0, 3px 3px 1px red;}

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

This text has shadow with #7040A0 primary color and red secondary color.


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

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

This text has shadow with #7040A0 and red colors in old Internet Explorer.


Div box shadow color

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

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #7040A0;
-webkit-box-shadow: 1px 1px 3px 2px #7040A0;
box-shadow:1px 1px 3px 2px #7040A0;">
Div content here</div>
This div box has shadow with color #7040A0.

Preview

Color preview on black background

This text has color #7040A0 on black background.


Color preview on white background

This text has color #7040A0 on white background.



Black color preview on #7040A0 background

This text has black color on #7040A0 background.


White color preview on #7040A0 background

This text has white color on #7040A0 background.