COLOR #8040AD

HEX: #8040AD RGB: (128,64,173)

Color info

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

RGB color model

#8040AD color RGB value is (128,64,173).

RGB: (128,64,173) (50%, 25%, 68%)

RGB channels and saturation

R 128 of 255 = 50%
G 64 of 255 = 25%
B 173 of 255 = 68%

128
64
173

R + G + B ~ 48%. #8040AD is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B = 128 + 64 + 173 = 365 (100%)
R 128 of 365 ~ 35.07%
G 64 of 365 ~ 17.53%
B 173 of 365 ~ 47.4'%

%35.07
%17.53
%47.4

CMYK color model

#8040AD color CMYK value is (26,63,0,32).

  • cyan value is 26.01%
  • magenta value is 63.01%
  • yellow value is 0.00%
  • key color value is 32.16%
CMYK: (26,63,0,32) C26M63Y0K32 (26%,63%,0%,32%) (0.26/0.63/0.00/0.32) 

CMYK percentages

%26.01
%63.01
%0
%32.16

Codes

Color #8040AD in popluar color models

80 40 AD
RGB 128 64 173
HSL 275° 45.99% 46.47%
HSB/HSV 275° 63.01% 67.84%
CMYK 26.01% 63.01% 0.00%
32.16%

Color #8040AD in popluar number systems.

HEX 80 40 AD
Decimal 128 64 173
Binary 10000000 1000000 10101101
Octal 200 100 255

Shades and tints

Shades of #8040AD

#8040AD
(128,64,173)
#753B9E
(117,59,158)
#6A368F
(106,54,143)
#5F3180
(95,49,128)
#542C71
(84,44,113)
#492762
(73,39,98)
#3E2253
(62,34,83)
#331D44
(51,29,68)
#281835
(40,24,53)
#1D1326
(29,19,38)
#120E17
(18,14,23)
#000000
(0,0,0)

Tints of #8040AD

#8040AD
(128,64,173)
#8B51B4
(139,81,180)
#9662BB
(150,98,187)
#A173C2
(161,115,194)
#AC84C9
(172,132,201)
#B795D0
(183,149,208)
#C2A6D7
(194,166,215)
#CDB7DE
(205,183,222)
#D8C8E5
(216,200,229)
#E3D9EC
(227,217,236)
#EEEAF3
(238,234,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #8040AD color. Also use rgb(128,64,173) instead hex code.

Text Font Color

.myTextColor { color: #8040AD; }

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

This text font color is #8040AD.

Background Color

.myBgColor { background-color: #8040AD; }

<div style="background-color:#8040AD">Inner text</div>

This div background color is #8040AD.

Border color

.myBorderColor { border: 1px solid #8040AD; }

<div style="border:3px solid #8040AD">Div</div>

This div border color is #8040AD.

Opacity

.myOpacity80 { color: #8040AD; opacity: 0.8; }

<p style="color:#8040AD;opacity:0.8;">80%</p>

Text with #8040AD 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 #8040AD;}

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

This text has shadow with #8040AD color.


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

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

This text has shadow with #8040AD primary color and red secondary color.


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

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

This text has shadow with #8040AD and red colors in old Internet Explorer.

Div box shadow color

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

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

This div box has shadow with color #8040AD.

Preview

Color preview on black background

This text has color #8040AD on black background.


Color preview on white background

This text has color #8040AD on white background.


Black color preview on #8040AD background

This text has black color on #8040AD background.


White color preview on #8040AD background

This text has white color on #8040AD background.


Related colors

Complementary color

Complementary color for #hex is #7FBF52.


I love getcolorcode.com

Triadic colors

1 #AD8040 and #40AD80 with #8040AD are triadic colors.

2 #AD4080 and #4080AD with #8040AD are triadic colors.