COLOR #A798F0

HEX: #A798F0
RGB: (167,152,240)

Color info

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

RGB color model

#A798F0 color RGB value is (167,152,240).

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

RGB channels and saturation

R 167 of 255 = 65%
G 152 of 255 = 60%
B 240 of 255 = 94%

167
152
240

R + G + B ~ 73%. #A798F0 is quite light color.

Portions of RGB colors in percentages

R + G + B =
167 + 152 + 240 = 559 (100%)
R 167 of 559 ~ 29.87%
G 152 of 559 ~ 27.19%
B 240 of 559 ~ 42.93%

%29.87
%27.19
%42.93

CMYK color model

#A798F0 color CMYK value is (30,37,0,6).

  • cyan value is 30.42%
  • magenta value is 36.67%
  • yellow value is 0.00%
  • key color value is 5.88%
CMYK:
(30,37,0,6)
C30M37Y0K6 
(30%,37%,0%,6%)
(0.30/0.37/0.00/0.06)	

CMYK percentages

%30.42
%36.67
%0
%5.88

Codes

Color #A798F0 in popluar color models

A798F0
RGB167152240
HSL250°74.58%76.86%
HSB/HSV250°36.67%94.12%
CMYK30.42%36.67%0.00%
5.88%

Color #A798F0 in popluar number systems.

HEXA798F0
Decimal167152240
Binary101001111001100011110000
Octal247230360

Shades and tints

Shades of #A798F0

#A798F0
(167,152,240)
#988BDB
(152,139,219)
#897EC6
(137,126,198)
#7A71B1
(122,113,177)
#6B649C
(107,100,156)
#5C5787
(92,87,135)
#4D4A72
(77,74,114)
#3E3D5D
(62,61,93)
#2F3048
(47,48,72)
#202333
(32,35,51)
#11161E
(17,22,30)
#000000
(0,0,0)

Tints of #A798F0

#A798F0
(167,152,240)
#AFA1F1
(175,161,241)
#B7AAF2
(183,170,242)
#BFB3F3
(191,179,243)
#C7BCF4
(199,188,244)
#CFC5F5
(207,197,245)
#D7CEF6
(215,206,246)
#DFD7F7
(223,215,247)
#E7E0F8
(231,224,248)
#EFE9F9
(239,233,249)
#F7F2FA
(247,242,250)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #A798F0; }

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

This text font color is #A798F0.


Background Color

.myBgColor { background-color: #A798F0; }

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

This div background color is #A798F0.


Border color

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

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

This div border color is #A798F0.


Opacity

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

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

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

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

This text has shadow with #A798F0 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A798F0 on black background.


Color preview on white background

This text has color #A798F0 on white background.



Black color preview on #A798F0 background

This text has black color on #A798F0 background.


White color preview on #A798F0 background

This text has white color on #A798F0 background.