ColorPalette

digraph inheritance627caa4e20 { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "ColorPalette" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Provides the list of taurus colors equivalent to Tango colors."]; }
class ColorPalette(dat, int_decoder_dict=None)[source]

Bases: object

Provides the list of taurus colors equivalent to Tango colors.

format_SimStates(var='T1')[source]
has(name)[source]
hex(stoq, fmt='%06x', fg=False)[source]

Returns the rgb colors as string of lowercase hexadecimal characters

htmlStyle(htmlTag, stoq)[source]
name(stoq, fg=False)[source]

Returns the name of the color.

number(stoq, fg=False)[source]

Returns the colors as a number, suitable for conversion to hexadecimal as argument to QtGui.QColor.

qtStyleSheet(stoq)[source]
rgb(stoq, fg=False)[source]

Returns a triplet of rgb colors in the range of 0 .. 255.

rgb_pair(stoq)[source]

Returns pair of foreground and background colors.

size()[source]