Last active
November 13, 2015 16:16
-
-
Save seblavoie/e3cc7e59b4b0ebc5df9b to your computer and use it in GitHub Desktop.
Color alteration in After Effects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _sourceColor, _hslColor, _hue, _saturation, _lightness; _sourceColor = effect("Fill")("Color"); _hslColor = rgbToHsl(_sourceColor); _hue = _hslColor[0]; _saturation = _hslColor[1]; _lightness = _hslColor[2] - .2; // Here you go hslToRgb([_hue, _saturation, _lightness, 1]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment