COLOR #A796C7

HEX: #A796C7
RGB: (167,150,199)

Color info

#A796C7 contains red, green and blue colors in about the same proportion. Web safe color of #A796C7 is #9999CC (or #99C).

RGB color model

#A796C7 color RGB value is (167,150,199).

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

RGB channels and saturation

R 167 of 255 = 65%
G 150 of 255 = 59%
B 199 of 255 = 78%

167
150
199

R + G + B ~ 67%. #A796C7 is quite light color.

Portions of RGB colors in percentages

R + G + B =
167 + 150 + 199 = 516 (100%)
R 167 of 516 ~ 32.36%
G 150 of 516 ~ 29.07%
B 199 of 516 ~ 38.57%

%32.36
%29.07
%38.57

CMYK color model

#A796C7 color CMYK value is (16,25,0,22).

  • cyan value is 16.08%
  • magenta value is 24.62%
  • yellow value is 0.00%
  • key color value is 21.96%
CMYK:
(16,25,0,22)
C16M25Y0K22 
(16%,25%,0%,22%)
(0.16/0.25/0.00/0.22)	

CMYK percentages

%16.08
%24.62
%0
%21.96

Codes

Color #A796C7 in popluar color models

A796C7
RGB167150199
HSL261°30.43%68.43%
HSB/HSV261°24.62%78.04%
CMYK16.08%24.62%0.00%
21.96%

Color #A796C7 in popluar number systems.

HEXA796C7
Decimal167150199
Binary101001111001011011000111
Octal247226307

Shades and tints

Shades of #A796C7

#A796C7
(167,150,199)
#9889B5
(152,137,181)
#897CA3
(137,124,163)
#7A6F91
(122,111,145)
#6B627F
(107,98,127)
#5C556D
(92,85,109)
#4D485B
(77,72,91)
#3E3B49
(62,59,73)
#2F2E37
(47,46,55)
#202125
(32,33,37)
#111413
(17,20,19)
#000000
(0,0,0)

Tints of #A796C7

#A796C7
(167,150,199)
#AF9FCC
(175,159,204)
#B7A8D1
(183,168,209)
#BFB1D6
(191,177,214)
#C7BADB
(199,186,219)
#CFC3E0
(207,195,224)
#D7CCE5
(215,204,229)
#DFD5EA
(223,213,234)
#E7DEEF
(231,222,239)
#EFE7F4
(239,231,244)
#F7F0F9
(247,240,249)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A796C7; }

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

This text font color is #A796C7.


Background Color

.myBgColor { background-color: #A796C7; }

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

This div background color is #A796C7.


Border color

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

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

This div border color is #A796C7.


Opacity

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

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

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

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

This text has shadow with #A796C7 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A796C7 on black background.


Color preview on white background

This text has color #A796C7 on white background.



Black color preview on #A796C7 background

This text has black color on #A796C7 background.


White color preview on #A796C7 background

This text has white color on #A796C7 background.