nmmo.lib.colors module#
- class nmmo.lib.colors.Color16#
Bases:
object
- colors = [<nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>]#
- make()#
- class nmmo.lib.colors.Color256#
Bases:
object
- colors = [<nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>, <nmmo.lib.colors.Color object>]#
- make256()#
- class nmmo.lib.colors.Neon#
Bases:
Swatch
- BLACK = <nmmo.lib.colors.Color object>#
- BLOOD = <nmmo.lib.colors.Color object>#
- BLUE = <nmmo.lib.colors.Color object>#
- BROWN = <nmmo.lib.colors.Color object>#
- CYAN = <nmmo.lib.colors.Color object>#
- FUCHSIA = <nmmo.lib.colors.Color object>#
- GOLD = <nmmo.lib.colors.Color object>#
- GRAY = <nmmo.lib.colors.Color object>#
- GREEN = <nmmo.lib.colors.Color object>#
- MAGENTA = <nmmo.lib.colors.Color object>#
- MASK = <nmmo.lib.colors.Color object>#
- MINT = <nmmo.lib.colors.Color object>#
- ORANGE = <nmmo.lib.colors.Color object>#
- PURPLE = <nmmo.lib.colors.Color object>#
- RED = <nmmo.lib.colors.Color object>#
- SILVER = <nmmo.lib.colors.Color object>#
- SKY = <nmmo.lib.colors.Color object>#
- SPRING = <nmmo.lib.colors.Color object>#
- TERM = <nmmo.lib.colors.Color object>#
- WHITE = <nmmo.lib.colors.Color object>#
- YELLOW = <nmmo.lib.colors.Color object>#
- colors()#
Return list of swatch colors
- rand()#
Return random swatch color
- class nmmo.lib.colors.Palette(initial_swatch=<class 'nmmo.lib.colors.Neon'>)#
Bases:
object
- color(idx)#
- class nmmo.lib.colors.Solid#
Bases:
Swatch
- BLUE = <nmmo.lib.colors.Color object>#
- BROWN = <nmmo.lib.colors.Color object>#
- CHARTREUSE = <nmmo.lib.colors.Color object>#
- GREEN = <nmmo.lib.colors.Color object>#
- GREY = <nmmo.lib.colors.Color object>#
- ORANGE = <nmmo.lib.colors.Color object>#
- PINK = <nmmo.lib.colors.Color object>#
- PURPLE = <nmmo.lib.colors.Color object>#
- RED = <nmmo.lib.colors.Color object>#
- SKY = <nmmo.lib.colors.Color object>#
- colors()#
Return list of swatch colors
- rand()#
Return random swatch color
- class nmmo.lib.colors.Swatch#
Bases:
object
- colors()#
Return list of swatch colors
- rand()#
Return random swatch color
- class nmmo.lib.colors.Tier#
Bases:
object
- BLACK = <nmmo.lib.colors.Color object>#
- BRONZE = <nmmo.lib.colors.Color object>#
- DIAMOND = <nmmo.lib.colors.Color object>#
- GOLD = <nmmo.lib.colors.Color object>#
- PLATINUM = <nmmo.lib.colors.Color object>#
- SILVER = <nmmo.lib.colors.Color object>#
- WOOD = <nmmo.lib.colors.Color object>#
- nmmo.lib.colors.makeColor(idx, h=1, s=1, v=1)#
- nmmo.lib.colors.rgb(h)#
- nmmo.lib.colors.rgbNorm(h)#