COLOR #B1B228

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

Color info

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

RGB color model

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

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

RGB channels and saturation

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

177
178
40

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

Portions of RGB colors in percentages

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

%44.81
%45.06

CMYK color model

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

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

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

CMYK percentages

%0.56
%0
%77.53
%30.2

Codes

Color #B1B228 in popluar color models

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

Color #B1B228 in popluar number systems.

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

Shades and tints

Shades of #B1B228

#B1B228
(177,178,40)
#A1A225
(161,162,37)
#919222
(145,146,34)
#81821F
(129,130,31)
#71721C
(113,114,28)
#616219
(97,98,25)
#515216
(81,82,22)
#414213
(65,66,19)
#313210
(49,50,16)
#21220D
(33,34,13)
#11120A
(17,18,10)
#000000
(0,0,0)

Tints of #B1B228

#B1B228
(177,178,40)
#B8B93B
(184,185,59)
#BFC04E
(191,192,78)
#C6C761
(198,199,97)
#CDCE74
(205,206,116)
#D4D587
(212,213,135)
#DBDC9A
(219,220,154)
#E2E3AD
(226,227,173)
#E9EAC0
(233,234,192)
#F0F1D3
(240,241,211)
#F7F8E6
(247,248,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #B1B228; }

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

This text font color is #B1B228.

Background Color

.myBgColor { background-color: #B1B228; }

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

This div background color is #B1B228.

Border color

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

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

This div border color is #B1B228.

Opacity

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

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

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

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

This text has shadow with #B1B228 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #B1B228.

Preview

Color preview on black background

This text has color #B1B228 on black background.


Color preview on white background

This text has color #B1B228 on white background.


Black color preview on #B1B228 background

This text has black color on #B1B228 background.


White color preview on #B1B228 background

This text has white color on #B1B228 background.


Related colors

Complementary color

Complementary color for #hex is #4E4DD7.


I love getcolorcode.com

Triadic colors

1 #28B1B2 and #B228B1 with #B1B228 are triadic colors.

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