COLOR #F2F2F2

HEX: #F2F2F2
RGB: (242,242,242)

Color info

#F2F2F2 contains red, green and blue colors in about the same proportion. Web safe color of #F2F2F2 is #FFFFFF (or #FFF).

RGB color model

#F2F2F2 color RGB value is (242,242,242).

  • red value is 242;
  • green value is 242;
  • blue value is 242.
RGB:
(242,242,242)
(95%,95%,95%)

RGB channels and saturation

R 242 of 255 = 95%
G 242 of 255 = 95%
B 242 of 255 = 95%

242
242
242

R + G + B ~ 95%. #F2F2F2 is light color.

Portions of RGB colors in percentages

R + G + B =
242 + 242 + 242 = 726 (100%)
R 242 of 726 ~ 33.33%
G 242 of 726 ~ 33.33%
B 242 of 726 ~ 33.33%

%33.33
%33.33
%33.33

CMYK color model

#F2F2F2 color CMYK value is (0,0,0,5).

  • cyan value is 0.00%
  • magenta value is 0.00%
  • yellow value is 0.00%
  • key color value is 5.10%
CMYK:
(0,0,0,5)
C0M0Y0K5 
(0%,0%,0%,5%)
(0.00/0.00/0.00/0.05)	

CMYK percentages

%0
%0
%0
%5.1

Codes

Color #F2F2F2 in popluar color models

F2F2F2
RGB242242242
HSL0.00%0.95%
HSB/HSV0.00%0.95%
CMYK0.00%0.00%0.00%
5.10%

Color #F2F2F2 in popluar number systems.

HEXF2F2F2
Decimal242242242
Binary111100101111001011110010
Octal362362362

Shades and tints

Shades of #F2F2F2

#F2F2F2
(242,242,242)
#DCDCDC
(220,220,220)
#C6C6C6
(198,198,198)
#B0B0B0
(176,176,176)
#9A9A9A
(154,154,154)
#848484
(132,132,132)
#6E6E6E
(110,110,110)
#585858
(88,88,88)
#424242
(66,66,66)
#2C2C2C
(44,44,44)
#161616
(22,22,22)
#000000
(0,0,0)

Tints of #F2F2F2

#F2F2F2
(242,242,242)
#F3F3F3
(243,243,243)
#F4F4F4
(244,244,244)
#F5F5F5
(245,245,245)
#F6F6F6
(246,246,246)
#F7F7F7
(247,247,247)
#F8F8F8
(248,248,248)
#F9F9F9
(249,249,249)
#FAFAFA
(250,250,250)
#FBFBFB
(251,251,251)
#FCFCFC
(252,252,252)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #F2F2F2; }

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

This text font color is #F2F2F2.


Background Color

.myBgColor { background-color: #F2F2F2; }

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

This div background color is #F2F2F2.


Border color

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

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

This div border color is #F2F2F2.


Opacity

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

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

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

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

This text has shadow with #F2F2F2 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #F2F2F2 on black background.


Color preview on white background

This text has color #F2F2F2 on white background.



Black color preview on #F2F2F2 background

This text has black color on #F2F2F2 background.


White color preview on #F2F2F2 background

This text has white color on #F2F2F2 background.