You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
261 B

package main
import (
"git.aiterp.net/lucifer/new-server/internal/color"
"log"
)
func main() {
cv, _ := color.Parse("xy:0.1944,0.0942")
hs, _ := cv.ToHS()
log.Println(cv.String())
log.Println(hs.String())
xy, _ := hs.ToXY()
log.Println(xy.String())
}