The convergence http://www.grenvillecollege.co.uk/ payday loans uk For . [[ProgramLanguage/Script/JavaScript/Raphael]] *Raphael.getRGB(string) [#la57ac68] **概要 [#j9f68f50] RGBオブジェクトを取得します。 //End 概要 #br **構文 [#l22c2b33] function( colour ) //End 構文 #br **パラメータ [#f7045888] :colour| 型:''string'' カラーネームを指定します。 //End パラメータ **戻り値 [#qcb1666d] :RGB| //End 戻り値 #br **解説 [#n251b822] 指定したカラーネームをRGBオブジェクトに変換して取得します。 //End 解説 #br **例 [#rabc60f0] RGBオブジェクトを取得する方法を次のコード例に示します。 var rgb = Raphael.getRGB("aquamarine"); var messages = []; messages.push("r:" + rgb.r); messages.push("g:" + rgb.g); messages.push("b:" + rgb.b); messages.push("hex:" + rgb.hex); messages.push("error:" + rgb.error); alert(messages.join("\n")); //End 例 #br **バージョン情報 [#zbb15059] Raphael 2.1.0 //End バージョン情報 #br **参照 [#gfc81496] //End 参照 //End Raphael.getRGB(string)