COLOR #252542

HEX: #252542 RGB: (37,37,66)

Color info

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

RGB color model

#252542 color RGB value is (37,37,66).

RGB: (37,37,66) (15%, 15%, 26%)

RGB channels and saturation

R 37 of 255 = 15%
G 37 of 255 = 15%
B 66 of 255 = 26%

37
37
66

R + G + B ~ 19%. #252542 is dark color.

Portions of RGB colors in percentages

R + G + B = 37 + 37 + 66 = 140 (100%)
R 37 of 140 ~ 26.43%
G 37 of 140 ~ 26.43%
B 66 of 140 ~ 47.14'%

%26.43
%26.43
%47.14

CMYK color model

#252542 color CMYK value is (44,44,0,74).

  • cyan value is 43.94%
  • magenta value is 43.94%
  • yellow value is 0.00%
  • key color value is 74.12%

CMYK: (44,44,0,74)
C44M44Y0K74 (44%, 44%, 0%, 74%)
(0.44 / 0.44 / 0.00 / 0.74)

CMYK percentages

%43.94
%43.94
%0
%74.12

Codes

Color #252542 in popluar color models

25 25 42
RGB 37 37 66
HSL 240° 28.16% 20.20%
HSB/HSV 240° 43.94% 25.88%
CMYK 43.94% 43.94% 0.00%
74.12%

Color #252542 in popluar number systems.

HEX 25 25 42
Decimal 37 37 66
Binary 100101 100101 1000010
Octal 45 45 102

Shades and tints

Shades of #252542

#252542
(37,37,66)
#22223C
(34,34,60)
#1F1F36
(31,31,54)
#1C1C30
(28,28,48)
#19192A
(25,25,42)
#161624
(22,22,36)
#13131E
(19,19,30)
#101018
(16,16,24)
#0D0D12
(13,13,18)
#0A0A0C
(10,10,12)
#070706
(7,7,6)
#000000
(0,0,0)

Tints of #252542

#252542
(37,37,66)
#383853
(56,56,83)
#4B4B64
(75,75,100)
#5E5E75
(94,94,117)
#717186
(113,113,134)
#848497
(132,132,151)
#9797A8
(151,151,168)
#AAAAB9
(170,170,185)
#BDBDCA
(189,189,202)
#D0D0DB
(208,208,219)
#E3E3EC
(227,227,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #252542; }

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

This text font color is #252542.

Background Color

.myBgColor { background-color: #252542; }

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

This div background color is #252542.

Border color

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

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

This div border color is #252542.

Opacity

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

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

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

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

This text has shadow with #252542 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #252542.

Preview

Color preview on black background

This text has color #252542 on black background.


Color preview on white background

This text has color #252542 on white background.


Black color preview on #252542 background

This text has black color on #252542 background.


White color preview on #252542 background

This text has white color on #252542 background.


Related colors

Complementary color

Complementary color for #hex is #DADABD.


I love getcolorcode.com