COLOR #A542AF

HEX: #A542AF
RGB: (165,66,175)

Color info

#A542AF contains mainly red and blue colors. Web safe color of #A542AF is #993399 (or #939).

RGB color model

#A542AF color RGB value is (165,66,175).

  • red value is 165;
  • green value is 66;
  • blue value is 175.
RGB:
(165,66,175)
(65%,26%,69%)

RGB channels and saturation

R 165 of 255 = 65%
G 66 of 255 = 26%
B 175 of 255 = 69%

165
66
175

R + G + B ~ 53%. #A542AF is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
165 + 66 + 175 = 406 (100%)
R 165 of 406 ~ 40.64%
G 66 of 406 ~ 16.26%
B 175 of 406 ~ 43.1%

%40.64
%16.26
%43.1

CMYK color model

#A542AF color CMYK value is (6,62,0,31).

  • cyan value is 5.71%
  • magenta value is 62.29%
  • yellow value is 0.00%
  • key color value is 31.37%
CMYK:
(6,62,0,31)
C6M62Y0K31 
(6%,62%,0%,31%)
(0.06/0.62/0.00/0.31)	

CMYK percentages

%5.71
%62.29
%0
%31.37

Codes

Color #A542AF in popluar color models

A542AF
RGB16566175
HSL294°45.23%47.25%
HSB/HSV294°62.29%68.63%
CMYK5.71%62.29%0.00%
31.37%

Color #A542AF in popluar number systems.

HEXA542AF
Decimal16566175
Binary10100101100001010101111
Octal245102257

Shades and tints

Shades of #A542AF

#A542AF
(165,66,175)
#963CA0
(150,60,160)
#873691
(135,54,145)
#783082
(120,48,130)
#692A73
(105,42,115)
#5A2464
(90,36,100)
#4B1E55
(75,30,85)
#3C1846
(60,24,70)
#2D1237
(45,18,55)
#1E0C28
(30,12,40)
#0F0619
(15,6,25)
#000000
(0,0,0)

Tints of #A542AF

#A542AF
(165,66,175)
#AD53B6
(173,83,182)
#B564BD
(181,100,189)
#BD75C4
(189,117,196)
#C586CB
(197,134,203)
#CD97D2
(205,151,210)
#D5A8D9
(213,168,217)
#DDB9E0
(221,185,224)
#E5CAE7
(229,202,231)
#EDDBEE
(237,219,238)
#F5ECF5
(245,236,245)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A542AF color. Also use rgb(165,66,175) instead hex code.

Text Font Color

.myTextColor { color: #A542AF; }

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

This text font color is #A542AF.


Background Color

.myBgColor { background-color: #A542AF; }

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

This div background color is #A542AF.


Border color

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

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

This div border color is #A542AF.


Opacity

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

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

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

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

This text has shadow with #A542AF color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A542AF on black background.


Color preview on white background

This text has color #A542AF on white background.



Black color preview on #A542AF background

This text has black color on #A542AF background.


White color preview on #A542AF background

This text has white color on #A542AF background.