Skip to content

Does linear interpolation (lerp) between HTML color codes

License

Notifications You must be signed in to change notification settings

Phosphenius/lerpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lerpc

Linearly interpolate (lerp) colors in HTML format.

lerpc "#ff0000" "#00ff00" 42 100

Output: #936b00

Example usage

Battery indicator colored based on charge left:

Example

About

Does linear interpolation (lerp) between HTML color codes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published