COLOR #A6B151

HEX: #A6B151
RGB: (166,177,81)

Color info

#A6B151 contains mainly red and green colors. Web safe color of #A6B151 is #999966 (or #996).

RGB color model

#A6B151 color RGB value is (166,177,81).

  • red value is 166;
  • green value is 177;
  • blue value is 81.
RGB:
(166,177,81)
(65%,69%,32%)

RGB channels and saturation

R 166 of 255 = 65%
G 177 of 255 = 69%
B 81 of 255 = 32%

166
177
81

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

Portions of RGB colors in percentages

R + G + B =
166 + 177 + 81 = 424 (100%)
R 166 of 424 ~ 39.15%
G 177 of 424 ~ 41.75%
B 81 of 424 ~ 19.1%

%39.15
%41.75
%19.1

CMYK color model

#A6B151 color CMYK value is (6,0,54,31).

  • cyan value is 6.21%
  • magenta value is 0.00%
  • yellow value is 54.24%
  • key color value is 30.59%
CMYK:
(6,0,54,31)
C6M0Y54K31 
(6%,0%,54%,31%)
(0.06/0.00/0.54/0.31)	

CMYK percentages

%6.21
%0
%54.24
%30.59

Codes

Color #A6B151 in popluar color models

A6B151
RGB16617781
HSL67°38.10%50.59%
HSB/HSV67°54.24%69.41%
CMYK6.21%0.00%54.24%
30.59%

Color #A6B151 in popluar number systems.

HEXA6B151
Decimal16617781
Binary10100110101100011010001
Octal246261121

Shades and tints

Shades of #A6B151

#A6B151
(166,177,81)
#97A14A
(151,161,74)
#889143
(136,145,67)
#79813C
(121,129,60)
#6A7135
(106,113,53)
#5B612E
(91,97,46)
#4C5127
(76,81,39)
#3D4120
(61,65,32)
#2E3119
(46,49,25)
#1F2112
(31,33,18)
#10110B
(16,17,11)
#000000
(0,0,0)

Tints of #A6B151

#A6B151
(166,177,81)
#AEB860
(174,184,96)
#B6BF6F
(182,191,111)
#BEC67E
(190,198,126)
#C6CD8D
(198,205,141)
#CED49C
(206,212,156)
#D6DBAB
(214,219,171)
#DEE2BA
(222,226,186)
#E6E9C9
(230,233,201)
#EEF0D8
(238,240,216)
#F6F7E7
(246,247,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #A6B151 color. Also use rgb(166,177,81) instead hex code.

Text Font Color

.myTextColor { color: #A6B151; }

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

This text font color is #A6B151.


Background Color

.myBgColor { background-color: #A6B151; }

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

This div background color is #A6B151.


Border color

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

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

This div border color is #A6B151.


Opacity

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

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

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

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

This text has shadow with #A6B151 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #A6B151 on black background.


Color preview on white background

This text has color #A6B151 on white background.



Black color preview on #A6B151 background

This text has black color on #A6B151 background.


White color preview on #A6B151 background

This text has white color on #A6B151 background.