COLOR #A797C8

HEX: #A797C8
RGB: (167,151,200)

Color info

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

RGB color model

#A797C8 color RGB value is (167,151,200).

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

RGB channels and saturation

R 167 of 255 = 65%
G 151 of 255 = 59%
B 200 of 255 = 78%

167
151
200

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

Portions of RGB colors in percentages

R + G + B =
167 + 151 + 200 = 518 (100%)
R 167 of 518 ~ 32.24%
G 151 of 518 ~ 29.15%
B 200 of 518 ~ 38.61%

%32.24
%29.15
%38.61

CMYK color model

#A797C8 color CMYK value is (17,25,0,22).

  • cyan value is 16.50%
  • magenta value is 24.50%
  • yellow value is 0.00%
  • key color value is 21.57%
CMYK:
(17,25,0,22)
C17M25Y0K22 
(17%,25%,0%,22%)
(0.17/0.25/0.00/0.22)	

CMYK percentages

%16.5
%24.5
%0
%21.57

Codes

Color #A797C8 in popluar color models

A797C8
RGB167151200
HSL260°30.82%68.82%
HSB/HSV260°24.50%78.43%
CMYK16.50%24.50%0.00%
21.57%

Color #A797C8 in popluar number systems.

HEXA797C8
Decimal167151200
Binary101001111001011111001000
Octal247227310

Shades and tints

Shades of #A797C8

#A797C8
(167,151,200)
#988AB6
(152,138,182)
#897DA4
(137,125,164)
#7A7092
(122,112,146)
#6B6380
(107,99,128)
#5C566E
(92,86,110)
#4D495C
(77,73,92)
#3E3C4A
(62,60,74)
#2F2F38
(47,47,56)
#202226
(32,34,38)
#111514
(17,21,20)
#000000
(0,0,0)

Tints of #A797C8

#A797C8
(167,151,200)
#AFA0CD
(175,160,205)
#B7A9D2
(183,169,210)
#BFB2D7
(191,178,215)
#C7BBDC
(199,187,220)
#CFC4E1
(207,196,225)
#D7CDE6
(215,205,230)
#DFD6EB
(223,214,235)
#E7DFF0
(231,223,240)
#EFE8F5
(239,232,245)
#F7F1FA
(247,241,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A797C8; }

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

This text font color is #A797C8.


Background Color

.myBgColor { background-color: #A797C8; }

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

This div background color is #A797C8.


Border color

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

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

This div border color is #A797C8.


Opacity

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

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

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

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

This text has shadow with #A797C8 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A797C8 on black background.


Color preview on white background

This text has color #A797C8 on white background.



Black color preview on #A797C8 background

This text has black color on #A797C8 background.


White color preview on #A797C8 background

This text has white color on #A797C8 background.