Colour for text

Is there an easy way to add colour to a post? I did it today using [color=red] / [/color], but it was a bit of a chore. . .

I’ve added something that might make your life easier. There’s now a palette button on the composer toolbar.

Select some text that you want to colour, then click the palette button. It will add a ‘wrapper’ around the text, e.g.

You can then change ‘color’ or ‘bgcolor’, or both, to change the text colour or background colour. If you leave either of them as ‘#’ then it takes the current default colour, i.e. white background or black text. That’s to avoid you needing to delete the unwanted part of the wrapper.

Some examples:

Red text on a yellow background

Green text on the default background (white)

Default text (black) on a cyan background

Red text then turning on yellow background before finishing back on red text

Default black text on a yellow background turning to red text on a white background before finishing back on default text on the yellow background

The last two were done by embedding a wrapper inside a wrapper. The outer one has yellow background set with default text. The inner wrapper has white background and red text colour.

If the wrapper is at the end of a line then it colours to the end of the line, e.g. the examples above. If the wrapper is embedded in a line of text then it just colours the part of the line it’s embedded into, e.g. this sentence.

Finally, The colours can either be RGB Hex, e.g. #00FF00 (green), or you can use any of the 140 (?) HTML colour names, e.g.

Some text in RebeccaPurple on a LightGoldenrodYellow background

You can now show off your artistic talents with all sorts of unusual combinations!

Thanks. A button on the toolbar was exactly what I was looking for :wink:

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.