COLOR #A796D5

HEX: #A796D5
RGB: (167,150,213)

Color info

#A796D5 contains mainly red and blue colors. Web safe color of #A796D5 is #9999CC (or #99C).

RGB color model

#A796D5 color RGB value is (167,150,213).

  • red value is 167;
  • green value is 150;
  • blue value is 213.
RGB:
(167,150,213)
(65%,59%,84%)

RGB channels and saturation

R 167 of 255 = 65%
G 150 of 255 = 59%
B 213 of 255 = 84%

167
150
213

R + G + B ~ 69%. #A796D5 is quite light color.

Portions of RGB colors in percentages

R + G + B =
167 + 150 + 213 = 530 (100%)
R 167 of 530 ~ 31.51%
G 150 of 530 ~ 28.3%
B 213 of 530 ~ 40.19%

%31.51
%28.3
%40.19

CMYK color model

#A796D5 color CMYK value is (22,30,0,16).

  • cyan value is 21.60%
  • magenta value is 29.58%
  • yellow value is 0.00%
  • key color value is 16.47%
CMYK:
(22,30,0,16)
C22M30Y0K16 
(22%,30%,0%,16%)
(0.22/0.30/0.00/0.16)	

CMYK percentages

%21.6
%29.58
%0
%16.47

Codes

Color #A796D5 in popluar color models

A796D5
RGB167150213
HSL256°42.86%71.18%
HSB/HSV256°29.58%83.53%
CMYK21.60%29.58%0.00%
16.47%

Color #A796D5 in popluar number systems.

HEXA796D5
Decimal167150213
Binary101001111001011011010101
Octal247226325

Shades and tints

Shades of #A796D5

#A796D5
(167,150,213)
#9889C2
(152,137,194)
#897CAF
(137,124,175)
#7A6F9C
(122,111,156)
#6B6289
(107,98,137)
#5C5576
(92,85,118)
#4D4863
(77,72,99)
#3E3B50
(62,59,80)
#2F2E3D
(47,46,61)
#20212A
(32,33,42)
#111417
(17,20,23)
#000000
(0,0,0)

Tints of #A796D5

#A796D5
(167,150,213)
#AF9FD8
(175,159,216)
#B7A8DB
(183,168,219)
#BFB1DE
(191,177,222)
#C7BAE1
(199,186,225)
#CFC3E4
(207,195,228)
#D7CCE7
(215,204,231)
#DFD5EA
(223,213,234)
#E7DEED
(231,222,237)
#EFE7F0
(239,231,240)
#F7F0F3
(247,240,243)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A796D5 color. Also use rgb(167,150,213) instead hex code.

Text Font Color

.myTextColor { color: #A796D5; }

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

This text font color is #A796D5.


Background Color

.myBgColor { background-color: #A796D5; }

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

This div background color is #A796D5.


Border color

.myBorderColor { border: 1px solid #A796D5; }

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

This div border color is #A796D5.


Opacity

.myOpacity80 { color: #A796D5; opacity: 0.8; }

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

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

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

This text has shadow with #A796D5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A796D5 on black background.


Color preview on white background

This text has color #A796D5 on white background.



Black color preview on #A796D5 background

This text has black color on #A796D5 background.


White color preview on #A796D5 background

This text has white color on #A796D5 background.