Jump to content
Search Community

Does ColorPropsPlugin.js support hsl() color?

Dum test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Docs said ColorProps support 'almost any format'. Is HSL not one of them? Would be awesome if you could set a target color in hsl and have gsap tween to that in rgba() for you. 

Link to comment
Share on other sites

  • 1 month later...

Ha ha. Did you see the big "get GSAP" button on every page of the web site? :)

 

ColorPropsPlugin is in all of the downloads: the zip, github, and the CDN. To see it in the CDN, click the "customize" button at the bottom of the download window. 

 

There are a bunch of "download" links throughout the GSAP JS pages too - any of them should get you to the same window with all the options. 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...