COLOR #252531

HEX: #252531
RGB: (37,37,49)

Color info

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

RGB color model

#252531 color RGB value is (37,37,49).

  • red value is 37;
  • green value is 37;
  • blue value is 49.
RGB:
(37,37,49)
(15%,15%,19%)

RGB channels and saturation

R 37 of 255 = 15%
G 37 of 255 = 15%
B 49 of 255 = 19%

37
37
49

R + G + B ~ 16%. #252531 is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 37 + 49 = 123 (100%)
R 37 of 123 ~ 30.08%
G 37 of 123 ~ 30.08%
B 49 of 123 ~ 39.84%

%30.08
%30.08
%39.84

CMYK color model

#252531 color CMYK value is (24,24,0,81).

  • cyan value is 24.49%
  • magenta value is 24.49%
  • yellow value is 0.00%
  • key color value is 80.78%
CMYK:
(24,24,0,81)
C24M24Y0K81 
(24%,24%,0%,81%)
(0.24/0.24/0.00/0.81)	

CMYK percentages

%24.49
%24.49
%0
%80.78

Codes

Color #252531 in popluar color models

252531
RGB373749
HSL240°13.95%16.86%
HSB/HSV240°24.49%19.22%
CMYK24.49%24.49%0.00%
80.78%

Color #252531 in popluar number systems.

HEX252531
Decimal373749
Binary100101100101110001
Octal454561

Shades and tints

Shades of #252531

#252531
(37,37,49)
#22222D
(34,34,45)
#1F1F29
(31,31,41)
#1C1C25
(28,28,37)
#191921
(25,25,33)
#16161D
(22,22,29)
#131319
(19,19,25)
#101015
(16,16,21)
#0D0D11
(13,13,17)
#0A0A0D
(10,10,13)
#070709
(7,7,9)
#000000
(0,0,0)

Tints of #252531

#252531
(37,37,49)
#383843
(56,56,67)
#4B4B55
(75,75,85)
#5E5E67
(94,94,103)
#717179
(113,113,121)
#84848B
(132,132,139)
#97979D
(151,151,157)
#AAAAAF
(170,170,175)
#BDBDC1
(189,189,193)
#D0D0D3
(208,208,211)
#E3E3E5
(227,227,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #252531; }

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

This text font color is #252531.


Background Color

.myBgColor { background-color: #252531; }

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

This div background color is #252531.


Border color

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

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

This div border color is #252531.


Opacity

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

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

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

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

This text has shadow with #252531 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #252531 on black background.


Color preview on white background

This text has color #252531 on white background.



Black color preview on #252531 background

This text has black color on #252531 background.


White color preview on #252531 background

This text has white color on #252531 background.