Jump to content


Does ColorPropsPlugin.js support hsl() color?

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

Yes sir - that's in the latest version (just posted). It's not in the CDN quite yet, but probably will be in another 24-48 hours. 

Link to comment
Share on other sites

Awesome, Jack! You never fail to impress.

Link to comment
Share on other sites

  • 1 month later...

Where do you even get the plugin? I've been searching for 10 mins lol.

Link to comment
Share on other sites

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

siiiick guy Jack. You guys updated that zip, sick.

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.