COLOR #AFB297

HEX: #AFB297
RGB: (175,178,151)

Color info

#AFB297 contains red, green and blue colors in about the same proportion. Web safe color of #AFB297 is #999999 (or #999).

RGB color model

#AFB297 color RGB value is (175,178,151).

  • red value is 175;
  • green value is 178;
  • blue value is 151.
RGB:
(175,178,151)
(69%,70%,59%)

RGB channels and saturation

R 175 of 255 = 69%
G 178 of 255 = 70%
B 151 of 255 = 59%

175
178
151

R + G + B ~ 66%. #AFB297 is quite light color.

Portions of RGB colors in percentages

R + G + B =
175 + 178 + 151 = 504 (100%)
R 175 of 504 ~ 34.72%
G 178 of 504 ~ 35.32%
B 151 of 504 ~ 29.96%

%34.72
%35.32
%29.96

CMYK color model

#AFB297 color CMYK value is (2,0,15,30).

  • cyan value is 1.69%
  • magenta value is 0.00%
  • yellow value is 15.17%
  • key color value is 30.20%
CMYK:
(2,0,15,30)
C2M0Y15K30 
(2%,0%,15%,30%)
(0.02/0.00/0.15/0.30)	

CMYK percentages

%1.69
%0
%15.17
%30.2

Codes

Color #AFB297 in popluar color models

AFB297
RGB175178151
HSL67°14.92%64.51%
HSB/HSV67°15.17%69.80%
CMYK1.69%0.00%15.17%
30.20%

Color #AFB297 in popluar number systems.

HEXAFB297
Decimal175178151
Binary101011111011001010010111
Octal257262227

Shades and tints

Shades of #AFB297

#AFB297
(175,178,151)
#A0A28A
(160,162,138)
#91927D
(145,146,125)
#828270
(130,130,112)
#737263
(115,114,99)
#646256
(100,98,86)
#555249
(85,82,73)
#46423C
(70,66,60)
#37322F
(55,50,47)
#282222
(40,34,34)
#191215
(25,18,21)
#000000
(0,0,0)

Tints of #AFB297

#AFB297
(175,178,151)
#B6B9A0
(182,185,160)
#BDC0A9
(189,192,169)
#C4C7B2
(196,199,178)
#CBCEBB
(203,206,187)
#D2D5C4
(210,213,196)
#D9DCCD
(217,220,205)
#E0E3D6
(224,227,214)
#E7EADF
(231,234,223)
#EEF1E8
(238,241,232)
#F5F8F1
(245,248,241)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFB297; }

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

This text font color is #AFB297.


Background Color

.myBgColor { background-color: #AFB297; }

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

This div background color is #AFB297.


Border color

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

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

This div border color is #AFB297.


Opacity

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

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

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

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

This text has shadow with #AFB297 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFB297 on black background.


Color preview on white background

This text has color #AFB297 on white background.



Black color preview on #AFB297 background

This text has black color on #AFB297 background.


White color preview on #AFB297 background

This text has white color on #AFB297 background.