[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ko/docs/Web/CSS/Reference/Values/filter-function/brightness [Back]  [Original]

brightness() - CSS: Cascading Style Sheets | MDN

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

brightness()

Baseline Widely available

This feature is well established and works across many devices and browser versions. Its been available across browsers since 2016 9.

brightness() CSS . <filter-function>.

In this article

filter: brightness(1);
filter: brightness(1.75);
filter: brightness(50%);
filter: brightness(0);
<section id="default-example">
  <img
    class="transition-all"
    id="example-element"
    src="/shared-assets/images/examples/firefox-logo.svg"
    width="200" />
</section>

brightness(amount)

amount

<number> <percentage> , . 100% , 100% . 0% 100% . , 1.

css
brightness(0%)   /*   */
brightness(0.4)  /* 40%  */
brightness(1)    /*   */
brightness(200%) /*    */


Web Proxy Viewer  |  New URL  |  Original Page