Skip to content

Instantly share code, notes, and snippets.

View eclectic-tech's full-sized avatar
💭
I may be slow to respond.

eclectic-tech

💭
I may be slow to respond.
View GitHub Profile
@HakShak
HakShak / BlendColor.lua
Last active August 29, 2015 14:16
Rainmeter LUA Script for blending multiple color scales
-- BlendColor is a LUA script for processing multiple color scales to output
-- RGBA notation within Rainmeter INIs.
--Each scale is composed of "Start Percentrage, End Percentage, Start Color Value, End Color Value" notation
--e.g.: Fade a color in gradually over 100% would be "0,100,0,255"
--You can add more scales via a pipe '|' delimiter
--The below examples are the equivalent of "0,100,0,255"
--"0,50,0,128|50,100,128,255"
--"0,25,0,64|25,50,64,128|75,50,128,192|75,100,192,255"