Skip to content

Zero Dependency Go Color Module For Graphics Programming

License

Notifications You must be signed in to change notification settings

grow-graphics/uc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Useful Colors Go Reference

This module provides a useful purego color representation for graphics programming with zero dependencies, the design and implementation follows Godot's Color Class.

package main

import (
    "fmt"

    "grow.graphics/uc"
)

func main() {
    fmt.Println(uc.RGB(1, 0, 0))
    fmt.Println(uc.X11.Violet)
    fmt.Println(uc.Hex(0xff0000))
    fmt.Println(uc.HTML("#ff0000"))
}

About

Zero Dependency Go Color Module For Graphics Programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages