COLOR #AFAFB4

HEX: #AFAFB4 RGB: (175,175,180)

Color info

#AFAFB4 contains red, green and blue colors in about the same proportion. Web safe color of #AFAFB4 is #9999CC (or #99C).

RGB color model

#AFAFB4 color RGB value is (175,175,180).

RGB: (175,175,180) (69%, 69%, 71%)

RGB channels and saturation

R 175 of 255 = 69%
G 175 of 255 = 69%
B 180 of 255 = 71%

175
175
180

R + G + B ~ 70%. #AFAFB4 is quite light color.

Portions of RGB colors in percentages

R + G + B = 175 + 175 + 180 = 530 (100%)
R 175 of 530 ~ 33.02%
G 175 of 530 ~ 33.02%
B 180 of 530 ~ 33.96'%

%33.02
%33.02
%33.96

CMYK color model

#AFAFB4 color CMYK value is (3,3,0,29).

  • cyan value is 2.78%
  • magenta value is 2.78%
  • yellow value is 0.00%
  • key color value is 29.41%

CMYK: (3,3,0,29)
C3M3Y0K29 (3%, 3%, 0%, 29%)
(0.03 / 0.03 / 0.00 / 0.29)

CMYK percentages

%2.78
%2.78
%0
%29.41

Codes

Color #AFAFB4 in popluar color models

AF AF B4
RGB 175 175 180
HSL 240° 3.23% 69.61%
HSB/HSV 240° 2.78% 70.59%
CMYK 2.78% 2.78% 0.00%
29.41%

Color #AFAFB4 in popluar number systems.

HEX AF AF B4
Decimal 175 175 180
Binary 10101111 10101111 10110100
Octal 257 257 264

Shades and tints

Shades of #AFAFB4

#AFAFB4
(175,175,180)
#A0A0A4
(160,160,164)
#919194
(145,145,148)
#828284
(130,130,132)
#737374
(115,115,116)
#646464
(100,100,100)
#555554
(85,85,84)
#464644
(70,70,68)
#373734
(55,55,52)
#282824
(40,40,36)
#191914
(25,25,20)
#000000
(0,0,0)

Tints of #AFAFB4

#AFAFB4
(175,175,180)
#B6B6BA
(182,182,186)
#BDBDC0
(189,189,192)
#C4C4C6
(196,196,198)
#CBCBCC
(203,203,204)
#D2D2D2
(210,210,210)
#D9D9D8
(217,217,216)
#E0E0DE
(224,224,222)
#E7E7E4
(231,231,228)
#EEEEEA
(238,238,234)
#F5F5F0
(245,245,240)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFAFB4; }

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

This text font color is #AFAFB4.

Background Color

.myBgColor { background-color: #AFAFB4; }

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

This div background color is #AFAFB4.

Border color

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

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

This div border color is #AFAFB4.

Opacity

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

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

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

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

This text has shadow with #AFAFB4 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #AFAFB4.

Preview

Color preview on black background

This text has color #AFAFB4 on black background.


Color preview on white background

This text has color #AFAFB4 on white background.


Black color preview on #AFAFB4 background

This text has black color on #AFAFB4 background.


White color preview on #AFAFB4 background

This text has white color on #AFAFB4 background.


Related colors

Complementary color

Complementary color for #hex is #50504B.


I love getcolorcode.com