COLOR #AFAFB5

HEX: #AFAFB5
RGB: (175,175,181)

Color info

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

RGB color model

#AFAFB5 color RGB value is (175,175,181).

  • red value is 175;
  • green value is 175;
  • blue value is 181.
RGB:
(175,175,181)
(69%,69%,71%)

RGB channels and saturation

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

175
175
181

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

Portions of RGB colors in percentages

R + G + B =
175 + 175 + 181 = 531 (100%)
R 175 of 531 ~ 32.96%
G 175 of 531 ~ 32.96%
B 181 of 531 ~ 34.09%

%32.96
%32.96
%34.09

CMYK color model

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

  • cyan value is 3.31%
  • magenta value is 3.31%
  • yellow value is 0.00%
  • key color value is 29.02%
CMYK:
(3,3,0,29)
C3M3Y0K29 
(3%,3%,0%,29%)
(0.03/0.03/0.00/0.29)	

CMYK percentages

%3.31
%3.31
%0
%29.02

Codes

Color #AFAFB5 in popluar color models

AFAFB5
RGB175175181
HSL240°3.90%69.80%
HSB/HSV240°3.31%70.98%
CMYK3.31%3.31%0.00%
29.02%

Color #AFAFB5 in popluar number systems.

HEXAFAFB5
Decimal175175181
Binary101011111010111110110101
Octal257257265

Shades and tints

Shades of #AFAFB5

#AFAFB5
(175,175,181)
#A0A0A5
(160,160,165)
#919195
(145,145,149)
#828285
(130,130,133)
#737375
(115,115,117)
#646465
(100,100,101)
#555555
(85,85,85)
#464645
(70,70,69)
#373735
(55,55,53)
#282825
(40,40,37)
#191915
(25,25,21)
#000000
(0,0,0)

Tints of #AFAFB5

#AFAFB5
(175,175,181)
#B6B6BB
(182,182,187)
#BDBDC1
(189,189,193)
#C4C4C7
(196,196,199)
#CBCBCD
(203,203,205)
#D2D2D3
(210,210,211)
#D9D9D9
(217,217,217)
#E0E0DF
(224,224,223)
#E7E7E5
(231,231,229)
#EEEEEB
(238,238,235)
#F5F5F1
(245,245,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFAFB5; }

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

This text font color is #AFAFB5.


Background Color

.myBgColor { background-color: #AFAFB5; }

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

This div background color is #AFAFB5.


Border color

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

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

This div border color is #AFAFB5.


Opacity

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

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

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

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

This text has shadow with #AFAFB5 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFAFB5 on black background.


Color preview on white background

This text has color #AFAFB5 on white background.



Black color preview on #AFAFB5 background

This text has black color on #AFAFB5 background.


White color preview on #AFAFB5 background

This text has white color on #AFAFB5 background.