Paper Office
paper-xlsxAPI referencestyles.colors

Color

paper-xlsx 0.2.1 API reference

Named colors for use in styles.

Color(rgb=BLACK, indexed=None, auto=None, theme=None, tint=0.0, index=None, type='rgb')

Attributes

auto

attributeauto
= Bool()

idx_base

attributeidx_base
= 0

index

attributeindex

indexed

attributeindexed
= Integer()

namespace

attributenamespace
= None

rgb

attributergb
= RGB()

tagname

attributetagname
= 'color'

theme

attributetheme
= Integer()

tint

attributetint
= tint

type

attributetype
= String()

value

attributevalue

Functions

__iter__

func__iter__()

from_tree

funcfrom_tree(node)

Create object from XML

paramnode

to_tree

functo_tree(tagname=None, idx=None, namespace=None)
paramtagname
= None
paramidx
= None
paramnamespace
= None

On this page