C++ 颜色RGB值转换为16进制

#include <sstream> /** * Transform RGB value to hex. */ std::string rgb2hex(int r, int g, int b, bool with_head = false); std::string rgb2hex(int r, int g, int b, bool with_head) { std::stringst
相关文章
相关标签/搜索