Created
September 5, 2018 14:15
-
-
Save animoplex/308ec6c5b236ca52b6608b55aabb5466 to your computer and use it in GitHub Desktop.
Add Lightness - After Effects Expression by Animoplex
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
// 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