COLOR #A797E0

HEX: #A797E0
RGB: (167,151,224)

Color info

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

RGB color model

#A797E0 color RGB value is (167,151,224).

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

RGB channels and saturation

R 167 of 255 = 65%
G 151 of 255 = 59%
B 224 of 255 = 88%

167
151
224

R + G + B ~ 71%. #A797E0 is quite light color.

Portions of RGB colors in percentages

R + G + B =
167 + 151 + 224 = 542 (100%)
R 167 of 542 ~ 30.81%
G 151 of 542 ~ 27.86%
B 224 of 542 ~ 41.33%

%30.81
%27.86
%41.33

CMYK color model

#A797E0 color CMYK value is (25,33,0,12).

  • cyan value is 25.45%
  • magenta value is 32.59%
  • yellow value is 0.00%
  • key color value is 12.16%
CMYK:
(25,33,0,12)
C25M33Y0K12 
(25%,33%,0%,12%)
(0.25/0.33/0.00/0.12)	

CMYK percentages

%25.45
%32.59
%0
%12.16

Codes

Color #A797E0 in popluar color models

A797E0
RGB167151224
HSL253°54.07%73.53%
HSB/HSV253°32.59%87.84%
CMYK25.45%32.59%0.00%
12.16%

Color #A797E0 in popluar number systems.

HEXA797E0
Decimal167151224
Binary101001111001011111100000
Octal247227340

Shades and tints

Shades of #A797E0

#A797E0
(167,151,224)
#988ACC
(152,138,204)
#897DB8
(137,125,184)
#7A70A4
(122,112,164)
#6B6390
(107,99,144)
#5C567C
(92,86,124)
#4D4968
(77,73,104)
#3E3C54
(62,60,84)
#2F2F40
(47,47,64)
#20222C
(32,34,44)
#111518
(17,21,24)
#000000
(0,0,0)

Tints of #A797E0

#A797E0
(167,151,224)
#AFA0E2
(175,160,226)
#B7A9E4
(183,169,228)
#BFB2E6
(191,178,230)
#C7BBE8
(199,187,232)
#CFC4EA
(207,196,234)
#D7CDEC
(215,205,236)
#DFD6EE
(223,214,238)
#E7DFF0
(231,223,240)
#EFE8F2
(239,232,242)
#F7F1F4
(247,241,244)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A797E0; }

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

This text font color is #A797E0.


Background Color

.myBgColor { background-color: #A797E0; }

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

This div background color is #A797E0.


Border color

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

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

This div border color is #A797E0.


Opacity

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

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

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

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

This text has shadow with #A797E0 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A797E0 on black background.


Color preview on white background

This text has color #A797E0 on white background.



Black color preview on #A797E0 background

This text has black color on #A797E0 background.


White color preview on #A797E0 background

This text has white color on #A797E0 background.