func (c SRGB) RGBA() (r, g, b, a uint32) {
	return uint32(c.R * 0xFFFF), uint32(c.G * 0xFFFF), uint32(c.B * 0xFFFF), uint32(0xFFFF)
}
//////////////////////////////////////////////////////////////////////////////
RGBA implements the image.Color interface: it returns the four components
scaled by 0xFFFF.
package color
type SRGB struct {
	R float32
	G float32
	B float32
}
func SRGBof(c Color) SRGB {
	r, g, b, _ := c.Standard()
	return SRGB{r, g, b}
}
func (c SRGB) Linear() (r, g, b, a float32) {
	r = linearOf(c.R)
	g = linearOf(c.G)
	b = linearOf(c.B)
	return r, g, b, 1
}
func (c SRGB) Standard() (r, g, b, a float32) {
	return c.R, c.G, c.B, 1
}