CSS brightness() Function

❮ Previous Functions Next ❯


img {
  filter: brightness(1.75);


The brightness() css function defines visual effects (brightness effects) to an element.

Adjusts the brightness of the image.

Version: CSS3

Standard Syntax


Browser Support

The numbers in the table specify the first browser version that fully supports the property.


Function Arguments

The following table describes the arguments of this function.

Argument Description
value The brightness of the result, specified as a number or a percentage.

A value under 100% darkens the image, while a value over 100% brightens it.

A value of 0% will create an image that is completely black, while a value of 100% leaves the input unchanged.

Default value is 1.

See also

The other <filter-function> functions available to be used in values of the filter and backdrop-filter properties include:

❮ Previous Functions Next ❯