Parse a ccColor3B from a hexadecimal string. The string may contain a leading ‘#’
Function cc3bFromHexString
#include <Geode/utils/cocos.hpp>std::string_viewhexValue
,boolpermissive
)hexValue
The string to parse into a color
permissive
If true, strings like "f" are considered valid representations of the color white. Useful for UIs that allow entering a hex color. Empty strings evaluate to pure white
A ccColor3B if it could be successfully parsed, or an error indicating the failure reason