COLOR #B8B821

HEX: #B8B821
RGB: (184,184,33)

Color info

#B8B821 contains mainly red and green colors. Web safe color of #B8B821 is #CCCC33 (or #CC3).

RGB color model

#B8B821 color RGB value is (184,184,33).

  • red value is 184;
  • green value is 184;
  • blue value is 33.
RGB:
(184,184,33)
(72%,72%,13%)

RGB channels and saturation

R 184 of 255 = 72%
G 184 of 255 = 72%
B 33 of 255 = 13%

184
184
33

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

Portions of RGB colors in percentages

R + G + B =
184 + 184 + 33 = 401 (100%)
R 184 of 401 ~ 45.89%
G 184 of 401 ~ 45.89%
B 33 of 401 ~ 8.23%

%45.89
%45.89

CMYK color model

#B8B821 color CMYK value is (0,0,82,28).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 82.07%
  • key color value is 27.84%
CMYK:
(0,0,82,28)
C0M0Y82K28 
(0%,0%,82%,28%)
(0.00/0.00/0.82/0.28)	

CMYK percentages

%0
%0
%82.07
%27.84

Codes

Color #B8B821 in popluar color models

B8B821
RGB18418433
HSL60°69.59%42.55%
HSB/HSV60°82.07%72.16%
CMYK0.00%0.00%82.07%
27.84%

Color #B8B821 in popluar number systems.

HEXB8B821
Decimal18418433
Binary1011100010111000100001
Octal27027041

Shades and tints

Shades of #B8B821

#B8B821
(184,184,33)
#A8A81E
(168,168,30)
#98981B
(152,152,27)
#888818
(136,136,24)
#787815
(120,120,21)
#686812
(104,104,18)
#58580F
(88,88,15)
#48480C
(72,72,12)
#383809
(56,56,9)
#282806
(40,40,6)
#181803
(24,24,3)
#000000
(0,0,0)

Tints of #B8B821

#B8B821
(184,184,33)
#BEBE35
(190,190,53)
#C4C449
(196,196,73)
#CACA5D
(202,202,93)
#D0D071
(208,208,113)
#D6D685
(214,214,133)
#DCDC99
(220,220,153)
#E2E2AD
(226,226,173)
#E8E8C1
(232,232,193)
#EEEED5
(238,238,213)
#F4F4E9
(244,244,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #B8B821 color. Also use rgb(184,184,33) instead hex code.

Text Font Color

.myTextColor { color: #B8B821; }

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

This text font color is #B8B821.


Background Color

.myBgColor { background-color: #B8B821; }

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

This div background color is #B8B821.


Border color

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

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

This div border color is #B8B821.


Opacity

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

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

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

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

This text has shadow with #B8B821 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #B8B821 on black background.


Color preview on white background

This text has color #B8B821 on white background.



Black color preview on #B8B821 background

This text has black color on #B8B821 background.


White color preview on #B8B821 background

This text has white color on #B8B821 background.