bg-green-500

The bg-green-500 class belongs to the background color group within the backgrounds category.

Example Usage

Here is an example of how to use bg-green-500:

<div class="bg-green-500 w-32 h-32 rounded-xl"></div>

Resulting CSS

--tw-bg-opacity: 1;
background-color: rgb(34 197 94 / var(--tw-bg-opacity));

Other Background color Classes

Get Tailwind Scanner!

The absolute must-have tool for anyone using Tailwind CSS.

Scan, Edit, Export any tailwind site in browser to create the perfect UI - download the chrome extension!