AdobeStock_455007340

Referring to RGB Colors Within CFML Code

The # character has special significance in CFML, and ColdFusion assumes that every # delimits an expression. So how can you refer to RGB values which are usually in the format #FF00FF within your CFML code? By escaping the #. Specify ##FF00FF and CF will send #FF00FF to the browser. (Applies to: ColdFusion All)

Leave a Reply