Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit a97ad77

Browse files
author
livecodesam
committed
[bugfix-20314] Added r,g,b color definitions in HTMLText entry
1 parent 1673279 commit a97ad77

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/dictionary/property/HTMLText.lcdoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,12 @@ Encloses a line of text. (Blank lines are also enclosed in <p>
9595
* bgcolor="#NNNNNN" if a <backgroundColor> has been set for the line.
9696
* bordercolor="#NNNNNN" if a <borderColor> has been set for the line.
9797

98-
>*Note:* An <HTML>-style color definition consists of a hash mark (#)
99-
> followed by three 2-digit hexadecimal numbers,
100-
one each for red, green, and blue. E.g., "#FF9900" represents an orange
101-
color.
98+
>*Note:* An <HTML>-style color definition can take one of the two forms.
99+
> The first consists of a hash mark (#) followed by three 2-digit
100+
> hexadecimal numbers, one each for red, green, and blue. E.g.,
101+
> "#FF9900" represents an orange color. The second form consists of
102+
> three comma delimited integers between 0 and 255. E.g. "255,153,0"
103+
> represents an orange color.
102104

103105
&lt;sub&gt; &lt;/sub&gt;
104106
Encloses text whose <textShift> is a positive <integer>.

docs/notes/bugfix-20314.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Amended the HTMLText dictionary entry to say that r,g,b is also an acceptable HTML-style color definition.

0 commit comments

Comments
 (0)