COLOR #B2AB27

HEX: #B2AB27
RGB: (178,171,39)

Color info

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

RGB color model

#B2AB27 color RGB value is (178,171,39).

  • red value is 178;
  • green value is 171;
  • blue value is 39.
RGB:
(178,171,39)
(70%,67%,15%)

RGB channels and saturation

R 178 of 255 = 70%
G 171 of 255 = 67%
B 39 of 255 = 15%

178
171
39

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

Portions of RGB colors in percentages

R + G + B =
178 + 171 + 39 = 388 (100%)
R 178 of 388 ~ 45.88%
G 171 of 388 ~ 44.07%
B 39 of 388 ~ 10.05%

%45.88
%44.07
%10.05

CMYK color model

#B2AB27 color CMYK value is (0,4,78,30).

  • cyan value is 0.00%
  • magenta value is 3.93%
  • yellow value is 78.09%
  • key color value is 30.20%
CMYK:
(0,4,78,30)
C0M4Y78K30 
(0%,4%,78%,30%)
(0.00/0.04/0.78/0.30)	

CMYK percentages

%0
%3.93
%78.09
%30.2

Codes

Color #B2AB27 in popluar color models

B2AB27
RGB17817139
HSL57°64.06%42.55%
HSB/HSV57°78.09%69.80%
CMYK0.00%3.93%78.09%
30.20%

Color #B2AB27 in popluar number systems.

HEXB2AB27
Decimal17817139
Binary1011001010101011100111
Octal26225347

Shades and tints

Shades of #B2AB27

#B2AB27
(178,171,39)
#A29C24
(162,156,36)
#928D21
(146,141,33)
#827E1E
(130,126,30)
#726F1B
(114,111,27)
#626018
(98,96,24)
#525115
(82,81,21)
#424212
(66,66,18)
#32330F
(50,51,15)
#22240C
(34,36,12)
#121509
(18,21,9)
#000000
(0,0,0)

Tints of #B2AB27

#B2AB27
(178,171,39)
#B9B23A
(185,178,58)
#C0B94D
(192,185,77)
#C7C060
(199,192,96)
#CEC773
(206,199,115)
#D5CE86
(213,206,134)
#DCD599
(220,213,153)
#E3DCAC
(227,220,172)
#EAE3BF
(234,227,191)
#F1EAD2
(241,234,210)
#F8F1E5
(248,241,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B2AB27 color. Also use rgb(178,171,39) instead hex code.

Text Font Color

.myTextColor { color: #B2AB27; }

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

This text font color is #B2AB27.


Background Color

.myBgColor { background-color: #B2AB27; }

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

This div background color is #B2AB27.


Border color

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

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

This div border color is #B2AB27.


Opacity

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

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

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

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

This text has shadow with #B2AB27 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B2AB27 on black background.


Color preview on white background

This text has color #B2AB27 on white background.



Black color preview on #B2AB27 background

This text has black color on #B2AB27 background.


White color preview on #B2AB27 background

This text has white color on #B2AB27 background.