A simple color picker for Ren'Py.
- Download the ZIP of this repository using the green button in the top right. The file
color_picker.rpy
is require; the filecolor_picker_examples.rpy
is optional but will show you possible ways to use the tool. - Put
color_picker.rpy
inside your Ren'Py project folder (with your otherrpy
files). - There is a test label,
label how_to_use_color_picker
, included incolor_picker.rpy
. You can jump to it to test out the color picker (e.g.jump how_to_use_color_picker
).
In particular, the example screen screen color_picker
should be used as a guide for adding the picker to your own screens. The picker, hue bars, preview swatch, hex code information, etc. are all separate screen elements and can be resized and moved around the screen however you like.
You are free to use this code however you wish. Credit as Feniks
is not required but is appreciated if you found the code useful. This tool can also be found on itch.io: https://feniksdev.itch.io/color-picker-for-renpy
You can check out my website, https://feniksdev.com/ for Ren'Py coding tutorials.