COLOR #AFB245

HEX: #AFB245
RGB: (175,178,69)

Color info

#AFB245 contains mainly red and green colors. Web safe color of #AFB245 is #999933 (or #993).

RGB color model

#AFB245 color RGB value is (175,178,69).

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

RGB channels and saturation

R 175 of 255 = 69%
G 178 of 255 = 70%
B 69 of 255 = 27%

175
178
69

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

Portions of RGB colors in percentages

R + G + B =
175 + 178 + 69 = 422 (100%)
R 175 of 422 ~ 41.47%
G 178 of 422 ~ 42.18%
B 69 of 422 ~ 16.35%

%41.47
%42.18
%16.35

CMYK color model

#AFB245 color CMYK value is (2,0,61,30).

  • cyan value is 1.69%
  • magenta value is 0.00%
  • yellow value is 61.24%
  • key color value is 30.20%
CMYK:
(2,0,61,30)
C2M0Y61K30 
(2%,0%,61%,30%)
(0.02/0.00/0.61/0.30)	

CMYK percentages

%1.69
%0
%61.24
%30.2

Codes

Color #AFB245 in popluar color models

AFB245
RGB17517869
HSL62°44.13%48.43%
HSB/HSV62°61.24%69.80%
CMYK1.69%0.00%61.24%
30.20%

Color #AFB245 in popluar number systems.

HEXAFB245
Decimal17517869
Binary10101111101100101000101
Octal257262105

Shades and tints

Shades of #AFB245

#AFB245
(175,178,69)
#A0A23F
(160,162,63)
#919239
(145,146,57)
#828233
(130,130,51)
#73722D
(115,114,45)
#646227
(100,98,39)
#555221
(85,82,33)
#46421B
(70,66,27)
#373215
(55,50,21)
#28220F
(40,34,15)
#191209
(25,18,9)
#000000
(0,0,0)

Tints of #AFB245

#AFB245
(175,178,69)
#B6B955
(182,185,85)
#BDC065
(189,192,101)
#C4C775
(196,199,117)
#CBCE85
(203,206,133)
#D2D595
(210,213,149)
#D9DCA5
(217,220,165)
#E0E3B5
(224,227,181)
#E7EAC5
(231,234,197)
#EEF1D5
(238,241,213)
#F5F8E5
(245,248,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #AFB245; }

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

This text font color is #AFB245.


Background Color

.myBgColor { background-color: #AFB245; }

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

This div background color is #AFB245.


Border color

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

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

This div border color is #AFB245.


Opacity

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

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

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

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

This text has shadow with #AFB245 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #AFB245 on black background.


Color preview on white background

This text has color #AFB245 on white background.



Black color preview on #AFB245 background

This text has black color on #AFB245 background.


White color preview on #AFB245 background

This text has white color on #AFB245 background.