Git Product home page Git Product logo

Comments (2)

captainbrosset avatar captainbrosset commented on July 21, 2024

Here is the list of changes from css color level 3, as described on https://www.w3.org/TR/css-color-4/#changes-from-3

  • rgb() and rgba() functions now accept rather than .
  • hsl() and hsla() functions now accept as well as for hues.
  • All uses of now accept as well as .
  • 4 and 8-digit hex colors have been added, to specify transparency.
  • gray() function, for specifying grays compactly. (And maybe allowing specification via luminance.)
  • hwb() function, for specifying colors in the HWB notation.
  • color-mod() function, for manipulating colors.
  • lab() and lch functions, for device-independent color
  • color() function and profile at-rule, for profiled device-dependent color.
  • device-cmyk() function, for specifying uncalibrated colors in an output-device-specific CMYK colorspace.
  • Addition of named color rebeccapurple.

I don't know how many of those have been implemented in the platform yet and are aimed to be supported by devtools in bug 1310681.

from demos.

JerryShih avatar JerryShih commented on July 21, 2024

All css-color-4 rgb, hsl color function changes are already in gecko. I will try speed up the bug 1310681.

Please reference these following link:
https://www.w3.org/TR/css-color-4/#rgb-functions
https://www.w3.org/TR/css-color-4/#the-hsl-notation

from demos.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.