The name of rainbow comes from Rubinstein (1991), who emphasises that this option was based on a combination of various assets like a rainbow is a combination of various colors. More generally, rainbow options are multiasset options, also referred to as correlation options, or basket options. Rainbow can take various other forms but the combining idea is to have a payoff that is depending on the assets sorted by their performance at maturity. When the rainbow only pays the best (respectively worst) performing asset of the basket, it is also called best-of, (respectively worst-of). Other popular options that can be reformulated as a rainbow option are spread and exchange options.
Rainbow options are usually calls or puts on the best or worst of n underlying assets. Like basket option, which is written on a group of assets and pays out on a weighted-average gain on the basket as a whole, a rainbow option also considers a group of assets, but usually pays out on the level of one of them. 
A simple example is a call rainbow option written on FTSE 100, Nikkei and S&P 500 which will pay out the difference between the strike price and the level of the index that has risen by the largest amount of the three. 
Alternatively, in a more complex scenario, the assets are sorted by their performance at maturity, for instance, a rainbow call with weights 50%, 30%, 20%, with a basket including FTSE 100, Nikkei and S&P 500 pays 50% of the best return (at maturity) between the three indices, 30% of the second best and 20% of the third best.
The options are often considered a correlation trade since the value of the option is sensitive to the correlation between the various basket components.
Some simple options can be transformed into more complex instruments if the underlying risk model that the option reflected does not match a future reality. In particular, derivatives in the currency and mortgage markets have been subject to liquidity risk that was not reflected in the pricing of the option when sold.
Rainbow options refer to all options whose payoff depends on more than one underlying risky asset; each asset is referred to as a color of the rainbow.
Examples of these include:
- Best of assets or cash option, delivering the maximum of two risky assets and cash at expiry
- Call on max option, giving the holder the right to purchase the maximum asset at the strike price at expiry 
- Call on min option, giving the holder the right to purchase the minimum asset at the strike price at expiry 
- Put on max option, giving the holder the right to sell the maximum of the risky assets at the strike price at expiry 
- Put on min option, giving the holder the right to sell the minimum of the risky assets at the strike at expiry 
- Put 2 and call 1, an exchange option to put a predefined risky asset and call the other risky asset. Thus, asset 1 is called with the 'strike' being asset 2. 
Thus, the payoffs at expiry for rainbow European options are:
- Best of assets or cash:
- Call on max:
- Call on min:
- Put on max:
- Put on min:
- Put 2 and Call 1:
Pricing and valuation
Rainbow options are usually priced using an appropriate industry-standard model (such as Black–Scholes) for each individual basket component, and a matrix of correlation coefficients applied to the underlying stochastic drivers for the various models.
While there are some closed-form solutions for simpler cases (e.g. two-color European rainbows), semi-analytic solutions  and analytical approximations   ,the general case must be approached with Monte Carlo or binomial lattice methods. For bibliography see Lyden (1996 ).
- "What Does Rainbow Option Mean?". investopedia.com. Retrieved 2014-02-12.
- Rubinstein, Mark. "Somewhere over the rainbow." Risk 4.11 (1991): 61-63.
- Benhamou, Eric. Rainbow options
- "Supported Equity Derivatives". mathworks.com. Retrieved 2014-02-12.
- Choudhry, Moorad. Bond and money markets: strategy, trading, analysis. Butterworth-Heinemann, 2003. p.838
- Taleb, Nassim. Dynamic hedging: managing vanilla and exotic options. Vol. 64. John Wiley & Sons, 1997. p.384
- Ouwehand, Peter, and Graeme West. "Pricing rainbow options." Wilmott magazine 5 (2006): 74-80.
- Stulz, RenéM. "Options on the minimum or the maximum of two risky assets: analysis and applications." Journal of Financial Economics 10.2 (1982): 161-185.
- Johnson, Herb. "Options on the maximum or the minimum of several assets." Journal of Financial and Quantitative Analysis 22.3 (1987): 277-283.
- Margrabe, William. "The value of an option to exchange one asset for another." The journal of finance 33.1 (1978): 177-186
- Rubinstein, Mark. Exotic options. No. RPF-220. University of California at Berkeley, 1991. URL:http://www.haas.berkeley.edu/groups/finance/WP/rpf220.pdf
- Austing, Peter. Smile Pricing Explained. Springer, 2014.
- Alexander, Carol, and Aanand Venkatramanan. "Analytic Approximations for Multi‐Asset Option Pricing." Mathematical Finance 22.4 (2012): 667-689.
- Hull, John C. Options, futures, and other derivatives. Eighth ed. Prentice Hall, 2012. p.588
- Wystup, Uwe. "FX Basket Options Valuation with Smile." (2009).
- Lyden, Scott. "Reference check: a bibliography of exotic options models." The Journal of Derivatives 4.1 (1996): 79-91.