COLOR #A797D9

HEX: #A797D9
RGB: (167,151,217)

Color info

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

RGB color model

#A797D9 color RGB value is (167,151,217).

  • red value is 167;
  • green value is 151;
  • blue value is 217.
RGB:
(167,151,217)
(65%,59%,85%)

RGB channels and saturation

R 167 of 255 = 65%
G 151 of 255 = 59%
B 217 of 255 = 85%

167
151
217

R + G + B ~ 70%. #A797D9 is quite light color.

Portions of RGB colors in percentages

R + G + B =
167 + 151 + 217 = 535 (100%)
R 167 of 535 ~ 31.21%
G 151 of 535 ~ 28.22%
B 217 of 535 ~ 40.56%

%31.21
%28.22
%40.56

CMYK color model

#A797D9 color CMYK value is (23,30,0,15).

  • cyan value is 23.04%
  • magenta value is 30.41%
  • yellow value is 0.00%
  • key color value is 14.90%
CMYK:
(23,30,0,15)
C23M30Y0K15 
(23%,30%,0%,15%)
(0.23/0.30/0.00/0.15)	

CMYK percentages

%23.04
%30.41
%0
%14.9

Codes

Color #A797D9 in popluar color models

A797D9
RGB167151217
HSL255°46.48%72.16%
HSB/HSV255°30.41%85.10%
CMYK23.04%30.41%0.00%
14.90%

Color #A797D9 in popluar number systems.

HEXA797D9
Decimal167151217
Binary101001111001011111011001
Octal247227331

Shades and tints

Shades of #A797D9

#A797D9
(167,151,217)
#988AC6
(152,138,198)
#897DB3
(137,125,179)
#7A70A0
(122,112,160)
#6B638D
(107,99,141)
#5C567A
(92,86,122)
#4D4967
(77,73,103)
#3E3C54
(62,60,84)
#2F2F41
(47,47,65)
#20222E
(32,34,46)
#11151B
(17,21,27)
#000000
(0,0,0)

Tints of #A797D9

#A797D9
(167,151,217)
#AFA0DC
(175,160,220)
#B7A9DF
(183,169,223)
#BFB2E2
(191,178,226)
#C7BBE5
(199,187,229)
#CFC4E8
(207,196,232)
#D7CDEB
(215,205,235)
#DFD6EE
(223,214,238)
#E7DFF1
(231,223,241)
#EFE8F4
(239,232,244)
#F7F1F7
(247,241,247)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A797D9 color. Also use rgb(167,151,217) instead hex code.

Text Font Color

.myTextColor { color: #A797D9; }

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

This text font color is #A797D9.


Background Color

.myBgColor { background-color: #A797D9; }

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

This div background color is #A797D9.


Border color

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

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

This div border color is #A797D9.


Opacity

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

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

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

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

This text has shadow with #A797D9 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A797D9 on black background.


Color preview on white background

This text has color #A797D9 on white background.



Black color preview on #A797D9 background

This text has black color on #A797D9 background.


White color preview on #A797D9 background

This text has white color on #A797D9 background.