COLOR #AF398A

HEX: #AF398A
RGB: (175,57,138)

Color info

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

RGB color model

#AF398A color RGB value is (175,57,138).

  • red value is 175;
  • green value is 57;
  • blue value is 138.
RGB:
(175,57,138)
(69%,22%,54%)

RGB channels and saturation

R 175 of 255 = 69%
G 57 of 255 = 22%
B 138 of 255 = 54%

175
57
138

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

Portions of RGB colors in percentages

R + G + B =
175 + 57 + 138 = 370 (100%)
R 175 of 370 ~ 47.3%
G 57 of 370 ~ 15.41%
B 138 of 370 ~ 37.3%

%47.3
%15.41
%37.3

CMYK color model

#AF398A color CMYK value is (0,67,21,31).

  • cyan value is 0.00%
  • magenta value is 67.43%
  • yellow value is 21.14%
  • key color value is 31.37%
CMYK:
(0,67,21,31)
C0M67Y21K31 
(0%,67%,21%,31%)
(0.00/0.67/0.21/0.31)	

CMYK percentages

%0
%67.43
%21.14
%31.37

Codes

Color #AF398A in popluar color models

AF398A
RGB17557138
HSL319°50.86%45.49%
HSB/HSV319°67.43%68.63%
CMYK0.00%67.43%21.14%
31.37%

Color #AF398A in popluar number systems.

HEXAF398A
Decimal17557138
Binary1010111111100110001010
Octal25771212

Shades and tints

Shades of #AF398A

#AF398A
(175,57,138)
#A0347E
(160,52,126)
#912F72
(145,47,114)
#822A66
(130,42,102)
#73255A
(115,37,90)
#64204E
(100,32,78)
#551B42
(85,27,66)
#461636
(70,22,54)
#37112A
(55,17,42)
#280C1E
(40,12,30)
#190712
(25,7,18)
#000000
(0,0,0)

Tints of #AF398A

#AF398A
(175,57,138)
#B64B94
(182,75,148)
#BD5D9E
(189,93,158)
#C46FA8
(196,111,168)
#CB81B2
(203,129,178)
#D293BC
(210,147,188)
#D9A5C6
(217,165,198)
#E0B7D0
(224,183,208)
#E7C9DA
(231,201,218)
#EEDBE4
(238,219,228)
#F5EDEE
(245,237,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #AF398A color. Also use rgb(175,57,138) instead hex code.

Text Font Color

.myTextColor { color: #AF398A; }

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

This text font color is #AF398A.


Background Color

.myBgColor { background-color: #AF398A; }

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

This div background color is #AF398A.


Border color

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

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

This div border color is #AF398A.


Opacity

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

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

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

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

This text has shadow with #AF398A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AF398A on black background.


Color preview on white background

This text has color #AF398A on white background.



Black color preview on #AF398A background

This text has black color on #AF398A background.


White color preview on #AF398A background

This text has white color on #AF398A background.