COLOR #B2B128

HEX: #B2B128 RGB: (178,177,40)

Color info

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

RGB color model

#B2B128 color RGB value is (178,177,40).

RGB: (178,177,40) (70%, 69%, 16%)

RGB channels and saturation

R 178 of 255 = 70%
G 177 of 255 = 69%
B 40 of 255 = 16%

178
177
40

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

Portions of RGB colors in percentages

R + G + B = 178 + 177 + 40 = 395 (100%)
R 178 of 395 ~ 45.06%
G 177 of 395 ~ 44.81%
B 40 of 395 ~ 10.13'%

%45.06
%44.81

CMYK color model

#B2B128 color CMYK value is (0,1,78,30).

  • cyan value is 0.00%
  • magenta value is 0.56%
  • yellow value is 77.53%
  • key color value is 30.20%

CMYK: (0,1,78,30)
C0M1Y78K30 (0%, 1%, 78%, 30%)
(0.00 / 0.01 / 0.78 / 0.30)

CMYK percentages

%0
%0.56
%77.53
%30.2

Codes

Color #B2B128 in popluar color models

B2 B1 28
RGB 178 177 40
HSL 60° 63.30% 42.75%
HSB/HSV 60° 77.53% 69.80%
CMYK 0.00% 0.56% 77.53%
30.20%

Color #B2B128 in popluar number systems.

HEX B2 B1 28
Decimal 178 177 40
Binary 10110010 10110001 101000
Octal 262 261 50

Shades and tints

Shades of #B2B128

#B2B128
(178,177,40)
#A2A125
(162,161,37)
#929122
(146,145,34)
#82811F
(130,129,31)
#72711C
(114,113,28)
#626119
(98,97,25)
#525116
(82,81,22)
#424113
(66,65,19)
#323110
(50,49,16)
#22210D
(34,33,13)
#12110A
(18,17,10)
#000000
(0,0,0)

Tints of #B2B128

#B2B128
(178,177,40)
#B9B83B
(185,184,59)
#C0BF4E
(192,191,78)
#C7C661
(199,198,97)
#CECD74
(206,205,116)
#D5D487
(213,212,135)
#DCDB9A
(220,219,154)
#E3E2AD
(227,226,173)
#EAE9C0
(234,233,192)
#F1F0D3
(241,240,211)
#F8F7E6
(248,247,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B2B128 color. Also use rgb(178,177,40) instead hex code.

Text Font Color

.myTextColor { color: #B2B128; }

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

This text font color is #B2B128.

Background Color

.myBgColor { background-color: #B2B128; }

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

This div background color is #B2B128.

Border color

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

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

This div border color is #B2B128.

Opacity

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

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

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

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

This text has shadow with #B2B128 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #B2B128.

Preview

Color preview on black background

This text has color #B2B128 on black background.


Color preview on white background

This text has color #B2B128 on white background.


Black color preview on #B2B128 background

This text has black color on #B2B128 background.


White color preview on #B2B128 background

This text has white color on #B2B128 background.


Related colors

Complementary color

Complementary color for #hex is #4D4ED7.


I love getcolorcode.com

Triadic colors

1 #28B2B1 and #B128B2 with #B2B128 are triadic colors.

2 #28B1B2 and #B1B228 with #B2B128 are triadic colors.