COLOR #C5A40F

HEX: #C5A40F
RGB: (197,164,15)

Color info

#C5A40F contains mainly red and green colors. Web safe color of #C5A40F is #CC9900 (or #C90).

RGB color model

#C5A40F color RGB value is (197,164,15).

  • red value is 197;
  • green value is 164;
  • blue value is 15.
RGB:
(197,164,15)
(77%,64%,6%)

RGB channels and saturation

R 197 of 255 = 77%
G 164 of 255 = 64%
B 15 of 255 = 6%

197
164
15

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

Portions of RGB colors in percentages

R + G + B =
197 + 164 + 15 = 376 (100%)
R 197 of 376 ~ 52.39%
G 164 of 376 ~ 43.62%
B 15 of 376 ~ 3.99%

%52.39
%43.62

CMYK color model

#C5A40F color CMYK value is (0,17,92,23).

  • cyan value is 0.00%
  • magenta value is 16.75%
  • yellow value is 92.39%
  • key color value is 22.75%
CMYK:
(0,17,92,23)
C0M17Y92K23 
(0%,17%,92%,23%)
(0.00/0.17/0.92/0.23)	

CMYK percentages

%0
%16.75
%92.39
%22.75

Codes

Color #C5A40F in popluar color models

C5A40F
RGB19716415
HSL49°85.85%41.57%
HSB/HSV49°92.39%77.25%
CMYK0.00%16.75%92.39%
22.75%

Color #C5A40F in popluar number systems.

HEXC5A40F
Decimal19716415
Binary11000101101001001111
Octal30524417

Shades and tints

Shades of #C5A40F

#C5A40F
(197,164,15)
#B4960E
(180,150,14)
#A3880D
(163,136,13)
#927A0C
(146,122,12)
#816C0B
(129,108,11)
#705E0A
(112,94,10)
#5F5009
(95,80,9)
#4E4208
(78,66,8)
#3D3407
(61,52,7)
#2C2606
(44,38,6)
#1B1805
(27,24,5)
#000000
(0,0,0)

Tints of #C5A40F

#C5A40F
(197,164,15)
#CAAC24
(202,172,36)
#CFB439
(207,180,57)
#D4BC4E
(212,188,78)
#D9C463
(217,196,99)
#DECC78
(222,204,120)
#E3D48D
(227,212,141)
#E8DCA2
(232,220,162)
#EDE4B7
(237,228,183)
#F2ECCC
(242,236,204)
#F7F4E1
(247,244,225)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #C5A40F color. Also use rgb(197,164,15) instead hex code.

Text Font Color

.myTextColor { color: #C5A40F; }

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

This text font color is #C5A40F.


Background Color

.myBgColor { background-color: #C5A40F; }

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

This div background color is #C5A40F.


Border color

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

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

This div border color is #C5A40F.


Opacity

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

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

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

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

This text has shadow with #C5A40F color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #C5A40F on black background.


Color preview on white background

This text has color #C5A40F on white background.



Black color preview on #C5A40F background

This text has black color on #C5A40F background.


White color preview on #C5A40F background

This text has white color on #C5A40F background.