Convert RGB value to ImVec3 for ImGui.
Setup
Install node from: https://nodejs.org/en/download/
NOTE: Make sure to add it to your path.
Verify install:
Command: node -v
$ node --version
v16.x (or whatever other version you installed)
After installing Node:
Open a cmd in the same folder you put the files
npm i
node . [R] [G] [B]
Use convert.js instead of index if you don't want to install modules.
NOTE: Change the "[R] [G] [B]" values to your colours.