github.com/benoitkugler/goacve@v0.0.0-20201217100549-151ce6e55dc8/server/core/rawdata/utils_test.go (about) 1 package rawdata 2 3 import ( 4 "fmt" 5 "testing" 6 ) 7 8 func TestColors(t *testing.T) { 9 c := RGBA{200, 5, 10, 150} 10 fmt.Println(c.AHex()) 11 fmt.Println(c.Hex()) 12 c2 := HexColor("#ff4512") 13 fmt.Println(c2.AHex()) 14 fmt.Println(c2.Hex()) 15 fmt.Println(NonCommencee.Color().Hex()) 16 }