bbCodeColor: BBCodeColor = ...

Processing rule instance for transforming a color style represented in HTML (by color style) to [color=#ff0000]Text[/color] in BBCode.

Due to the behavior of CSSStyleDeclaration color formats such as rgb(), rgba() or hsl() are supported as well and will all be transformed to hex or hex-alpha representation.