Last updated 2 years ago
Convert color to hex。
string
package main import ( "fmt" "github.com/fishtailstudio/imgo" "image/color" ) func main() { fmt.Println(imgo.Color2Hex(color.White)) }
Output:
#FFFFFF
url
图像资源