COLOR #FAF198

HEX: #FAF198
RGB: (250,241,152)

Color info

#FAF198 contains mainly red and green colors. Web safe color of #FAF198 is #FFFF99 (or #FF9).

RGB color model

#FAF198 color RGB value is (250,241,152).

  • red value is 250;
  • green value is 241;
  • blue value is 152.
RGB:
(250,241,152)
(98%,95%,60%)

RGB channels and saturation

R 250 of 255 = 98%
G 241 of 255 = 95%
B 152 of 255 = 60%

250
241
152

R + G + B ~ 84%. #FAF198 is quite light color.

Portions of RGB colors in percentages

R + G + B =
250 + 241 + 152 = 643 (100%)
R 250 of 643 ~ 38.88%
G 241 of 643 ~ 37.48%
B 152 of 643 ~ 23.64%

%38.88
%37.48
%23.64

CMYK color model

#FAF198 color CMYK value is (0,4,39,2).

  • cyan value is 0.00%
  • magenta value is 3.60%
  • yellow value is 39.20%
  • key color value is 1.96%
CMYK:
(0,4,39,2)
C0M4Y39K2 
(0%,4%,39%,2%)
(0.00/0.04/0.39/0.02)	

CMYK percentages

%0
%3.6
%39.2
%1.96

Codes

Color #FAF198 in popluar color models

FAF198
RGB250241152
HSL54°90.74%78.82%
HSB/HSV54°39.20%98.04%
CMYK0.00%3.60%39.20%
1.96%

Color #FAF198 in popluar number systems.

HEXFAF198
Decimal250241152
Binary111110101111000110011000
Octal372361230

Shades and tints

Shades of #FAF198

#FAF198
(250,241,152)
#E4DC8B
(228,220,139)
#CEC77E
(206,199,126)
#B8B271
(184,178,113)
#A29D64
(162,157,100)
#8C8857
(140,136,87)
#76734A
(118,115,74)
#605E3D
(96,94,61)
#4A4930
(74,73,48)
#343423
(52,52,35)
#1E1F16
(30,31,22)
#000000
(0,0,0)

Tints of #FAF198

#FAF198
(250,241,152)
#FAF2A1
(250,242,161)
#FAF3AA
(250,243,170)
#FAF4B3
(250,244,179)
#FAF5BC
(250,245,188)
#FAF6C5
(250,246,197)
#FAF7CE
(250,247,206)
#FAF8D7
(250,248,215)
#FAF9E0
(250,249,224)
#FAFAE9
(250,250,233)
#FAFBF2
(250,251,242)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #FAF198 color. Also use rgb(250,241,152) instead hex code.

Text Font Color

.myTextColor { color: #FAF198; }

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

This text font color is #FAF198.


Background Color

.myBgColor { background-color: #FAF198; }

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

This div background color is #FAF198.


Border color

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

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

This div border color is #FAF198.


Opacity

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

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

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

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

This text has shadow with #FAF198 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #FAF198 on black background.


Color preview on white background

This text has color #FAF198 on white background.



Black color preview on #FAF198 background

This text has black color on #FAF198 background.


White color preview on #FAF198 background

This text has white color on #FAF198 background.