COLOR #A8228A

HEX: #A8228A RGB: (168,34,138)

Color info

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

RGB color model

#A8228A color RGB value is (168,34,138).

RGB: (168,34,138) (66%, 13%, 54%)

RGB channels and saturation

R 168 of 255 = 66%
G 34 of 255 = 13%
B 138 of 255 = 54%

168
34
138

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

Portions of RGB colors in percentages

R + G + B = 168 + 34 + 138 = 340 (100%)
R 168 of 340 ~ 49.41%
G 34 of 340 ~ 10%
B 138 of 340 ~ 40.59'%

%49.41
%40.59

CMYK color model

#A8228A color CMYK value is (0,80,18,34).

  • cyan value is 0.00%
  • magenta value is 79.76%
  • yellow value is 17.86%
  • key color value is 34.12%

CMYK: (0,80,18,34)
C0M80Y18K34 (0%, 80%, 18%, 34%)
(0.00 / 0.80 / 0.18 / 0.34)

CMYK percentages

%0
%79.76
%17.86
%34.12

Codes

Color #A8228A in popluar color models

A8 22 8A
RGB 168 34 138
HSL 313° 66.34% 39.61%
HSB/HSV 313° 79.76% 65.88%
CMYK 0.00% 79.76% 17.86%
34.12%

Color #A8228A in popluar number systems.

HEX A8 22 8A
Decimal 168 34 138
Binary 10101000 100010 10001010
Octal 250 42 212

Shades and tints

Shades of #A8228A

#A8228A
(168,34,138)
#991F7E
(153,31,126)
#8A1C72
(138,28,114)
#7B1966
(123,25,102)
#6C165A
(108,22,90)
#5D134E
(93,19,78)
#4E1042
(78,16,66)
#3F0D36
(63,13,54)
#300A2A
(48,10,42)
#21071E
(33,7,30)
#120412
(18,4,18)
#000000
(0,0,0)

Tints of #A8228A

#A8228A
(168,34,138)
#AF3694
(175,54,148)
#B64A9E
(182,74,158)
#BD5EA8
(189,94,168)
#C472B2
(196,114,178)
#CB86BC
(203,134,188)
#D29AC6
(210,154,198)
#D9AED0
(217,174,208)
#E0C2DA
(224,194,218)
#E7D6E4
(231,214,228)
#EEEAEE
(238,234,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A8228A color. Also use rgb(168,34,138) instead hex code.

Text Font Color

.myTextColor { color: #A8228A; }

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

This text font color is #A8228A.

Background Color

.myBgColor { background-color: #A8228A; }

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

This div background color is #A8228A.

Border color

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

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

This div border color is #A8228A.

Opacity

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

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

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

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

This text has shadow with #A8228A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #A8228A.

Preview

Color preview on black background

This text has color #A8228A on black background.


Color preview on white background

This text has color #A8228A on white background.


Black color preview on #A8228A background

This text has black color on #A8228A background.


White color preview on #A8228A background

This text has white color on #A8228A background.


Related colors

Complementary color

Complementary color for #hex is #57DD75.


I love getcolorcode.com

Triadic colors

1 #8AA822 and #228AA8 with #A8228A are triadic colors.

2 #8A22A8 and #22A88A with #A8228A are triadic colors.