COLOR #A798FA

HEX: #A798FA
RGB: (167,152,250)

Color info

#A798FA contains mainly blue color. Web safe color of #A798FA is #9999FF (or #99F).

RGB color model

#A798FA color RGB value is (167,152,250).

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

RGB channels and saturation

R 167 of 255 = 65%
G 152 of 255 = 60%
B 250 of 255 = 98%

167
152
250

R + G + B ~ 74%. #A798FA is quite light color.

Portions of RGB colors in percentages

R + G + B =
167 + 152 + 250 = 569 (100%)
R 167 of 569 ~ 29.35%
G 152 of 569 ~ 26.71%
B 250 of 569 ~ 43.94%

%29.35
%26.71
%43.94

CMYK color model

#A798FA color CMYK value is (33,39,0,2).

  • cyan value is 33.20%
  • magenta value is 39.20%
  • yellow value is 0.00%
  • key color value is 1.96%
CMYK:
(33,39,0,2)
C33M39Y0K2 
(33%,39%,0%,2%)
(0.33/0.39/0.00/0.02)	

CMYK percentages

%33.2
%39.2
%0
%1.96

Codes

Color #A798FA in popluar color models

A798FA
RGB167152250
HSL249°90.74%78.82%
HSB/HSV249°39.20%98.04%
CMYK33.20%39.20%0.00%
1.96%

Color #A798FA in popluar number systems.

HEXA798FA
Decimal167152250
Binary101001111001100011111010
Octal247230372

Shades and tints

Shades of #A798FA

#A798FA
(167,152,250)
#988BE4
(152,139,228)
#897ECE
(137,126,206)
#7A71B8
(122,113,184)
#6B64A2
(107,100,162)
#5C578C
(92,87,140)
#4D4A76
(77,74,118)
#3E3D60
(62,61,96)
#2F304A
(47,48,74)
#202334
(32,35,52)
#11161E
(17,22,30)
#000000
(0,0,0)

Tints of #A798FA

#A798FA
(167,152,250)
#AFA1FA
(175,161,250)
#B7AAFA
(183,170,250)
#BFB3FA
(191,179,250)
#C7BCFA
(199,188,250)
#CFC5FA
(207,197,250)
#D7CEFA
(215,206,250)
#DFD7FA
(223,215,250)
#E7E0FA
(231,224,250)
#EFE9FA
(239,233,250)
#F7F2FA
(247,242,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A798FA; }

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

This text font color is #A798FA.


Background Color

.myBgColor { background-color: #A798FA; }

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

This div background color is #A798FA.


Border color

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

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

This div border color is #A798FA.


Opacity

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

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

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

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

This text has shadow with #A798FA color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A798FA on black background.


Color preview on white background

This text has color #A798FA on white background.



Black color preview on #A798FA background

This text has black color on #A798FA background.


White color preview on #A798FA background

This text has white color on #A798FA background.