Skip to content

Instantly share code, notes, and snippets.

@animoplex
Created September 5, 2018 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save animoplex/308ec6c5b236ca52b6608b55aabb5466 to your computer and use it in GitHub Desktop.
Save animoplex/308ec6c5b236ca52b6608b55aabb5466 to your computer and use it in GitHub Desktop.
Add Lightness - After Effects Expression by Animoplex
// Add Lightness - Created by Animoplex: www.animoplex.com
// Adds lightness percentage to a color value.
// Full Tutorial: https://www.youtube.com/watch?v=QkqiaPZJa1Y
// Lightness Example
moreLight = effect("Color Brightness")("Slider") / 100;
hsl = rgbToHsl(value);
assemble = [hsl[0], hsl[1], hsl[2] + moreLight, hsl[3]];
hslToRgb(assemble)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment