Welcome, GuestSign In
Yahoo! Store Manage My Services
pad
Merchant Resources > Store Guide > Advanced Features > RTML Reference > Colors
pad
Merchant Resources
Updates
  System Status
  Merchant Newsletter
Learn More
  Getting Started Guide
  Guides and Resources
  Store Help
 
Related Services
 Designer Directory
  Yahoo! Shopping
Partners
  UPS
  GotMarketing
  Commission Junction
  Paymentech
  Marketing Partners
 
Colors

Operators that can contain expressions sometimes also take arguments. The BODY operator is one of this type. In this template, it takes an argument specifying the page background color:

Yellow ()
TITLE "A Colorful Greeting"
BODY background-color COLOR red 255 
                            green 255
                            blue 0
  TEXT "Yellow world!"
This template generates a page like the previous one, except that the background color is bright yellow.

The COLOR operator takes three arguments representing the red, green, and blue components of a color as numbers between 0 and 255 inclusive. (This convention, known as RGB format, will be familiar to graphic designers.)