This is a small repo I thought I'd dump the resources I used to help polish my latest project Compound Chess! Below is a Table of Contents for the scripts and resources located in this repo.
Takes Hexadecimal input, luminance factor, and a mode option ([L]ighten or [D]arken), convert hex to RGB, performs conversions, and then converts RGB back to Hex.
1st draft of HEXApplyLum.py
. Takes RGB input instead of Hex.
GameMakerLanguage (GML) package that contains a Decimal to Hex converter DecToHex()
for converting RGB values to Hex.
- Useful for taking Hexadecimal strings as input and converting to color with make_color_rgb()
Also contains ColApplyLum()
which takes ANY color input (#xxxxxx, $xxxxxx, c_color, or make_color_rgb()) and apply luminance factor to it.
Very helpful source on performing RGB Arithmetic and manipulating RGB values for desired effects.
Just some quick notes I took on converting RGB values (decimal) to Hex.