COLOR #A798D3

HEX: #A798D3
RGB: (167,152,211)

Color info

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

RGB color model

#A798D3 color RGB value is (167,152,211).

  • red value is 167;
  • green value is 152;
  • blue value is 211.
RGB:
(167,152,211)
(65%,60%,83%)

RGB channels and saturation

R 167 of 255 = 65%
G 152 of 255 = 60%
B 211 of 255 = 83%

167
152
211

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

Portions of RGB colors in percentages

R + G + B =
167 + 152 + 211 = 530 (100%)
R 167 of 530 ~ 31.51%
G 152 of 530 ~ 28.68%
B 211 of 530 ~ 39.81%

%31.51
%28.68
%39.81

CMYK color model

#A798D3 color CMYK value is (21,28,0,17).

  • cyan value is 20.85%
  • magenta value is 27.96%
  • yellow value is 0.00%
  • key color value is 17.25%
CMYK:
(21,28,0,17)
C21M28Y0K17 
(21%,28%,0%,17%)
(0.21/0.28/0.00/0.17)	

CMYK percentages

%20.85
%27.96
%0
%17.25

Codes

Color #A798D3 in popluar color models

A798D3
RGB167152211
HSL255°40.14%71.18%
HSB/HSV255°27.96%82.75%
CMYK20.85%27.96%0.00%
17.25%

Color #A798D3 in popluar number systems.

HEXA798D3
Decimal167152211
Binary101001111001100011010011
Octal247230323

Shades and tints

Shades of #A798D3

#A798D3
(167,152,211)
#988BC0
(152,139,192)
#897EAD
(137,126,173)
#7A719A
(122,113,154)
#6B6487
(107,100,135)
#5C5774
(92,87,116)
#4D4A61
(77,74,97)
#3E3D4E
(62,61,78)
#2F303B
(47,48,59)
#202328
(32,35,40)
#111615
(17,22,21)
#000000
(0,0,0)

Tints of #A798D3

#A798D3
(167,152,211)
#AFA1D7
(175,161,215)
#B7AADB
(183,170,219)
#BFB3DF
(191,179,223)
#C7BCE3
(199,188,227)
#CFC5E7
(207,197,231)
#D7CEEB
(215,206,235)
#DFD7EF
(223,215,239)
#E7E0F3
(231,224,243)
#EFE9F7
(239,233,247)
#F7F2FB
(247,242,251)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A798D3 color. Also use rgb(167,152,211) instead hex code.

Text Font Color

.myTextColor { color: #A798D3; }

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

This text font color is #A798D3.


Background Color

.myBgColor { background-color: #A798D3; }

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

This div background color is #A798D3.


Border color

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

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

This div border color is #A798D3.


Opacity

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

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

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

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

This text has shadow with #A798D3 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A798D3 on black background.


Color preview on white background

This text has color #A798D3 on white background.



Black color preview on #A798D3 background

This text has black color on #A798D3 background.


White color preview on #A798D3 background

This text has white color on #A798D3 background.