C-string or null
default color, C-string or null
used only if the previous parameter is null
also contains the result
The hexcolor as a string like "#FF0000" or null on cancel.
ubyte[3] rgbColor; c_str hexColor = tinyfd_colorChooser("Choose a nice color", "#FF0077", rgbColor, rgbColor); if (hexColor) tinyfd_messageBox("The selected hexcolor is", hexColor, "ok", "info", 1);