COLOR #252228

HEX: #252228
RGB: (37,34,40)

Color info

#252228 contains red, green and blue colors in about the same proportion. Web safe color of #252228 is #333333 (or #333).

RGB color model

#252228 color RGB value is (37,34,40).

  • red value is 37;
  • green value is 34;
  • blue value is 40.
RGB:
(37,34,40)
(15%,13%,16%)

RGB channels and saturation

R 37 of 255 = 15%
G 34 of 255 = 13%
B 40 of 255 = 16%

37
34
40

R + G + B ~ 15%. #252228 is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 34 + 40 = 111 (100%)
R 37 of 111 ~ 33.33%
G 34 of 111 ~ 30.63%
B 40 of 111 ~ 36.04%

%33.33
%30.63
%36.04

CMYK color model

#252228 color CMYK value is (7,15,0,84).

  • cyan value is 7.50%
  • magenta value is 15.00%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(7,15,0,84)
C7M15Y0K84 
(7%,15%,0%,84%)
(0.07/0.15/0.00/0.84)	

CMYK percentages

%7.5
%15
%0
%84.31

Codes

Color #252228 in popluar color models

252228
RGB373440
HSL270°8.11%14.51%
HSB/HSV270°15.00%15.69%
CMYK7.50%15.00%0.00%
84.31%

Color #252228 in popluar number systems.

HEX252228
Decimal373440
Binary100101100010101000
Octal454250

Shades and tints

Shades of #252228

#252228
(37,34,40)
#221F25
(34,31,37)
#1F1C22
(31,28,34)
#1C191F
(28,25,31)
#19161C
(25,22,28)
#161319
(22,19,25)
#131016
(19,16,22)
#100D13
(16,13,19)
#0D0A10
(13,10,16)
#0A070D
(10,7,13)
#07040A
(7,4,10)
#000000
(0,0,0)

Tints of #252228

#252228
(37,34,40)
#38363B
(56,54,59)
#4B4A4E
(75,74,78)
#5E5E61
(94,94,97)
#717274
(113,114,116)
#848687
(132,134,135)
#979A9A
(151,154,154)
#AAAEAD
(170,174,173)
#BDC2C0
(189,194,192)
#D0D6D3
(208,214,211)
#E3EAE6
(227,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #252228 color. Also use rgb(37,34,40) instead hex code.

Text Font Color

.myTextColor { color: #252228; }

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

This text font color is #252228.


Background Color

.myBgColor { background-color: #252228; }

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

This div background color is #252228.


Border color

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

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

This div border color is #252228.


Opacity

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

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

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

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

This text has shadow with #252228 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #252228 on black background.


Color preview on white background

This text has color #252228 on white background.



Black color preview on #252228 background

This text has black color on #252228 background.


White color preview on #252228 background

This text has white color on #252228 background.