Files
TiviPlus 1ad05a4480 Fixes hslify tool not detecting all hex code formats (#89386)
## About The Pull Request
Only supported was 
#ff00ff

new supported:
#f0f
#f0f0
#ff00ff00

reapplies it to all tgui files

## Changelog
🆑
code: updated hslify to correctly detect all hexcodes
/🆑

---------

Co-authored-by: TiviPlus <572233640+TiviPlus@users.noreply.com>
2025-03-12 15:45:42 -04:00
..

HSLify

This is a simple Python script that converts all hex colors in a directory to their corresponding HSL values.

Usage

  1. Install the required dependencies:
pip install colormath
  1. Move files so that hslify is in the same directory as the files you want to process. That can be in this folder, or by moving this folder to the same directory as the files you want to process.

  2. Run the script:

py hslify.py
  1. Formatting is strange, so it may be necessary to save the file manually for prettier to format it.