HTML color code #2A7F28

Color name: None
RGB: 42, 127, 40
HSL: 118.62deg, 52.10%, 32.75%
Web safe color: No

RGB complementary color:

A complementary color for this color is #7E2880.

Example text color using #2A7F28

This text is placeholder text to give you an idea of how this color looks when used as a font color on a white background. The following sentence uses every English character: The quick brown fox jumps over the lazy dog. 0123456789 Bold text. Italic text. With Underline.

                    

This text is placeholder text to give you an idea of how this color looks when used as a font color on a black background. The following sentence uses every English character: The quick brown fox jumps over the lazy dog. 0123456789 Bold text. Italic text. With Underline.

                    

HTML examples

<p style="color:#2A7F28;">Your text using HTML color code.</p>
<p style="color:rgb(42 127 40);">Your text using RGB color values.</p>
<p style="color:hsl(118.62deg 52.10% 32.75%);">Your text using HSL color values.</p>

CSS code examples

<style> p { color:#2A7F28; } </style>
<style> p { color:rgb(42 127 40); } </style>
<style> p { color:hsl(118.62deg 52.10% 32.75%); } </style>

Lighter colors

#348932
#3E933C
#489D46
#52A750
#5CB15A
#66BB64
#70C56E
#7ACF78

Darker colors

#20751E
#166B14
#0C610A
#025700
#004D00
#004300
#003900
#002F00

Analogous colors

#288035
#288043
#288052
#288061
#28806F
#28807E
#287280
#286480

Trinary colors

#2A7F28
#282980
#802829

Adjacent colors

#040720
#0C090A
#34282C
#3B3131
#3A3B3C
#454545
#4D4D4F
#413839
Tip

Enter any HTML color code into our search to get results like this page.

Computer Hope - HTML color codes - Top 100 color codes