Cope 2.5.0
My personal "standard library" of all the generally useful code I've written for various projects over the years
Loading...
Searching...
No Matches
Namespaces | Functions
colors.py File Reference

Namespaces

namespace  Cope
 
namespace  Cope.colors
 

Functions

def Cope.colors.rgb2html (r, g, b)
 
tuple Cope.colors.html2rgb (str html)
 
def Cope.colors.generate_colors (amt, s=1, v=1, offset=0)
 
def Cope.colors.furthest_colors (html, amt=5, v_bias=0, s_bias=0)
 
def Cope.colors.complimentary_color (*color, Literal['html', 'rgb', 'rgba', 'opengl', 'hsv', 'hls', 'yiq'] rtn='rgb')
 
tuple Cope.colors.distinct_color (int n)
 
'type(rtn)' Cope.colors.parse_color (*args, Literal['html', 'rgb', 'rgba', 'opengl', 'hsv', 'hls', 'yiq'] rtn='rgb', **kwargs)
 
Tuple[ 'r', 'g', 'b'] Cope.colors.darken (amt, *args)
 
Tuple[ 'r', 'g', 'b'] Cope.colors.invert_color (*args, **kwargs)