Webカラー名
MQL4で定義されているWebカラー名です。全 140種類です。
カラーを指定しないときは「clrNONE」と入力します。
Webカラー名一覧表
clrBlackC'0,0,0' C'0x00,0x00,0x00' |
clrAliceBlueC'240,248,255' C'0xF0,0xF8,0xFF' |
clrDarkCyanC'0,139,139' C'0x00,0x8B,0x8B' |
clrLightYellowC'255,255,224' C'0xFF,0xFF,0xE0' |
clrCoralC'255,127,80' C'0xFF,0x7F,0x50' |
clrDimGrayC'105,105,105' C'0x69,0x69,0x69' |
clrLavenderC'230,230,250' C'0xE6,0xE6,0xFA' |
clrTealC'0,128,128' C'0x00,0x80,0x80' |
clrLightGoldenrodC'250,250,210' C'0xFA,0xFA,0xD2' |
clrTomatoC'255,99,71' C'0xFF,0x63,0x47' |
clrGrayC'128,128,128' C'0x80,0x80,0x80' |
clrLightSteelBlueC'176,196,222' C'0xB0,0xC4,0xDE' |
clrDarkSlateGrayC'47,79,79' C'0x2F,0x4F,0x4F' |
clrLemonChiffonC'255,250,205' C'0xFF,0xFA,0xCD' |
clrOrangeRedC'255,69,0' C'0xFF,0x45,0x00' |
clrDarkGrayC'169,169,169' C'0xA9,0xA9,0xA9' |
clrLightSlateGrayC'119,136,153' C'0x77,0x88,0x99' |
clrDarkGreenC'0,100,0' C'0x00,0x64,0x00' |
clrWheatC'245,222,179' C'0xF5,0xDE,0xB3' |
clrRedC'255,0,0' C'0xFF,0x00,0x00' |
clrSilverC'192,192,192' C'0xC0,0xC0,0xC0' |
clrSlateGrayC'112,128,144' C'0x70,0x80,0x90' |
clrGreenC'0,128,0' C'0x00,0x80,0x00' |
clrBurlyWoodC'222,184,135' C'0xDE,0xB8,0x87' |
clrCrimsonC'220,20,60' C'0xDC,0x14,0x3C' |
clrLightGrayC'211,211,211' C'0xD3,0xD3,0xD3' |
clrSteelBlueC'70,130,180' C'0x46,0x82,0xB4' |
clrForestGreenC'34,139,34' C'0x22,0x8B,0x22' |
clrTanC'210,180,140' C'0xD2,0xB4,0x8C' |
clrMediumVioletRedC'199,21,133' C'0xC7,0x15,0x85' |
clrGainsboroC'220,220,220' C'0xDC,0xDC,0xDC' |
clrRoyalBlueC'65,105,225' C'0x41,0x69,0xE1' |
clrSeaGreenC'46,139,87' C'0x2E,0x8B,0x57' |
clrKhakiC'240,230,140' C'0xF0,0xE6,0x8C' |
clrDeepPinkC'255,20,147' C'0xFF,0x14,0x93' |
clrWhiteSmokeC'245,245,245' C'0xF5,0xF5,0xF5' |
clrMidnightBlueC'25,25,112' C'0x19,0x19,0x70' |
clrMediumSeaGreenC'60,179,113' C'0x3C,0xB3,0x71' |
clrYellowC'255,255,0' C'0xFF,0xFF,0x00' |
clrHotPinkC'255,105,180' C'0xFF,0x69,0xB4' |
clrWhiteC'255,255,255' C'0xFF,0xFF,0xFF' |
clrNavyC'0,0,128' C'0x00,0x00,0x80' |
clrMediumAquamarineC'102,205,170' C'0x66,0xCD,0xAA' |
clrGoldC'255,215,0' C'0xFF,0xD7,0x00' |
clrPaleVioletRedC'219,112,147' C'0xDB,0x70,0x93' |
clrSnowC'255,250,250' C'0xFF,0xFA,0xFA' |
clrDarkBlueC'0,0,139' C'0x00,0x00,0x8B' |
clrDarkSeaGreenC'143,188,143' C'0x8F,0xBC,0x8F' |
clrOrangeC'255,165,0' C'0xFF,0xA5,0x00' |
clrPinkC'255,192,203' C'0xFF,0xC0,0xCB' |
clrGhostWhiteC'248,248,255' C'0xF8,0xF8,0xFF' |
clrMediumBlueC'0,0,205' C'0x00,0x00,0xCD' |
clrAquamarineC'127,255,212' C'0x7F,0xFF,0xD4' |
clrSandyBrownC'244,164,96' C'0xF4,0xA4,0x60' |
clrLightPinkC'255,182,193' C'0xFF,0xB6,0xC1' |
clrFloralWhiteC'255,250,240' C'0xFF,0xFA,0xF0' |
clrBlueC'0,0,255' C'0x00,0x00,0xFF' |
clrPaleGreenC'152,251,152' C'0x98,0xFB,0x98' |
clrDarkOrangeC'255,140,0' C'0xFF,0x8C,0x00' |
clrThistleC'216,191,216' C'0xD8,0xBF,0xD8' |
clrLinenC'250,240,230' C'0xFA,0xF0,0xE6' |
clrDodgerBlueC'30,144,255' C'0x1E,0x90,0xFF' |
clrLightGreenC'144,238,144' C'0x90,0xEE,0x90' |
clrGoldenrodC'218,165,32' C'0xDA,0xA5,0x20' |
clrMagentaC'255,0,255' C'0xFF,0x00,0xFF' |
clrAntiqueWhiteC'250,235,215' C'0xFA,0xEB,0xD7' |
clrCornflowerBlueC'100,149,237' C'0x64,0x95,0xED' |
clrSpringGreenC'0,255,127' C'0x00,0xFF,0x7F' |
clrPeruC'205,133,63' C'0xCD,0x85,0x3F' |
clrFuchsiaC'255,0,255' C'0xFF,0x00,0xFF' |
clrPapayaWhipC'255,239,213' C'0xFF,0xEF,0xD5' |
clrDeepSkyBlueC'0,191,255' C'0x00,0xBF,0xFF' |
clrMediumSpringGreenC'0,250,154' C'0x00,0xFA,0x9A' |
clrDarkGoldenrodC'184,134,11' C'0xB8,0x86,0x0B' |
clrVioletC'238,130,238' C'0xEE,0x82,0xEE' |
clrBlanchedAlmondC'255,235,205' C'0xFF,0xEB,0xCD' |
clrLightSkyBlueC'135,206,250' C'0x87,0xCE,0xFA' |
clrLawnGreenC'124,252,0' C'0x7C,0xFC,0x00' |
clrChocolateC'210,105,30' C'0xD2,0x69,0x1E' |
clrPlumC'221,160,221' C'0xDD,0xA0,0xDD' |
clrBisqueC'255,228,196' C'0xFF,0xE4,0xC4' |
clrSkyBlueC'135,206,235' C'0x87,0xCE,0xEB' |
clrChartreuseC'127,255,0' C'0x7F,0xFF,0x00' |
clrSiennaC'160,82,45' C'0xA0,0x52,0x2D' |
clrOrchidC'218,112,214' C'0xDA,0x70,0xD6' |
clrMoccasinC'255,228,181' C'0xFF,0xE4,0xB5' |
clrLightBlueC'173,216,230' C'0xAD,0xD8,0xE6' |
clrGreenYellowC'173,255,47' C'0xAD,0xFF,0x2F' |
clrSaddleBrownC'139,69,19' C'0x8B,0x45,0x13' |
clrMediumOrchidC'186,85,211' C'0xBA,0x55,0xD3' |
clrNavajoWhiteC'255,222,173' C'0xFF,0xDE,0xAD' |
clrPowderBlueC'176,224,230' C'0xB0,0xE0,0xE6' |
clrLimeC'0,255,0' C'0x00,0xFF,0x00' |
clrMaroonC'128,0,0' C'0x80,0x00,0x00' |
clrDarkOrchidC'153,50,204' C'0x99,0x32,0xCC' |
clrPeachPuffC'255,218,185' C'0xFF,0xDA,0xB9' |
clrPaleTurquoiseC'175,238,238' C'0xAF,0xEE,0xEE' |
clrLimeGreenC'50,205,50' C'0x32,0xCD,0x32' |
clrDarkRedC'139,0,0' C'0x8B,0x00,0x00' |
clrDarkVioletC'148,0,211' C'0x94,0x00,0xD3' |
clrMistyRoseC'255,228,225' C'0xFF,0xE4,0xE1' |
clrLightCyanC'224,255,255' C'0xE0,0xFF,0xFF' |
clrYellowGreenC'154,205,50' C'0x9A,0xCD,0x32' |
clrBrownC'165,42,42' C'0xA5,0x2A,0x2A' |
clrDarkMagentaC'139,0,139' C'0x8B,0x00,0x8B' |
clrLavenderBlushC'255,240,245' C'0xFF,0xF0,0xF5' |
clrCyanC'0,255,255' C'0x00,0xFF,0xFF' |
clrDarkOliveGreenC'85,107,47' C'0x55,0x6B,0x2F' |
clrFireBrickC'178,34,34' C'0xB2,0x22,0x22' |
clrPurpleC'128,0,128' C'0x80,0x00,0x80' |
clrSeashellC'255,245,238' C'0xFF,0xF5,0xEE' |
clrAquaC'0,255,255' C'0x00,0xFF,0xFF' |
clrOliveDrabC'107,142,35' C'0x6B,0x8E,0x23' |
clrIndianRedC'205,92,92' C'0xCD,0x5C,0x5C' |
clrIndigoC'75,0,130' C'0x4B,0x00,0x82' |
clrOldLaceC'253,245,230' C'0xFD,0xF5,0xE6' |
clrTurquoiseC'64,224,208' C'0x40,0xE0,0xD0' |
clrOliveC'128,128,0' C'0x80,0x80,0x00' |
clrRosyBrownC'188,143,143' C'0xBC,0x8F,0x8F' |
clrDarkSlateBlueC'72,61,139' C'0x48,0x3D,0x8B' |
clrIvoryC'255,255,240' C'0xFF,0xFF,0xF0' |
clrMediumTurquoiseC'72,209,204' C'0x48,0xD1,0xCC' |
clrDarkKhakiC'189,183,107' C'0xBD,0xB7,0x6B' |
clrDarkSalmonC'233,150,122' C'0xE9,0x96,0x7A' |
clrBlueVioletC'138,43,226' C'0x8A,0x2B,0xE2' |
clrHoneydewC'240,255,240' C'0xF0,0xFF,0xF0' |
clrDarkTurquoiseC'0,206,209' C'0x00,0xCE,0xD1' |
clrPaleGoldenrodC'238,232,170' C'0xEE,0xE8,0xAA' |
clrLightCoralC'240,128,128' C'0xF0,0x80,0x80' |
clrMediumPurpleC'147,112,219' C'0x93,0x70,0xDB' |
clrMintCreamC'245,255,250' C'0xF5,0xFF,0xFA' |
clrLightSeaGreenC'32,178,170' C'0x20,0xB2,0xAA' |
clrCornsilkC'255,248,220' C'0xFF,0xF8,0xDC' |
clrSalmonC'250,128,114' C'0xFA,0x80,0x72' |
clrSlateBlueC'106,90,205' C'0x6A,0x5A,0xCD' |
clrAzureC'240,255,255' C'0xF0,0xFF,0xFF' |
clrCadetBlueC'95,158,160' C'0x5F,0x9E,0xA0' |
clrBeigeC'245,245,220' C'0xF5,0xF5,0xDC' |
clrLightSalmonC'255,160,122' C'0xFF,0xA0,0x7A' |
clrMediumSlateBlueC'123,104,238' C'0x7B,0x68,0xEE' |
clrBlack | clrAliceBlue | clrDarkCyan | clrLightYellow | clrCoral |
clrDimGray | clrLavender | clrTeal | clrLightGoldenrod | clrTomato |
clrGray | clrLightSteelBlue | clrDarkSlateGray | clrLemonChiffon | clrOrangeRed |
clrDarkGray | clrLightSlateGray | clrDarkGreen | clrWheat | clrRed |
clrSilver | clrSlateGray | clrGreen | clrBurlyWood | clrCrimson |
clrLightGray | clrSteelBlue | clrForestGreen | clrTan | clrMediumVioletRed |
clrGainsboro | clrRoyalBlue | clrSeaGreen | clrKhaki | clrDeepPink |
clrWhiteSmoke | clrMidnightBlue | clrMediumSeaGreen | clrYellow | clrHotPink |
clrWhite | clrNavy | clrMediumAquamarine | clrGold | clrPaleVioletRed |
clrSnow | clrDarkBlue | clrDarkSeaGreen | clrOrange | clrPink |
clrGhostWhite | clrMediumBlue | clrAquamarine | clrSandyBrown | clrLightPink |
clrFloralWhite | clrBlue | clrPaleGreen | clrDarkOrange | clrThistle |
clrLinen | clrDodgerBlue | clrLightGreen | clrGoldenrod | clrMagenta |
clrAntiqueWhite | clrCornflowerBlue | clrSpringGreen | clrPeru | clrFuchsia |
clrPapayaWhip | clrDeepSkyBlue | clrMediumSpringGreen | clrDarkGoldenrod | clrViolet |
clrBlanchedAlmond | clrLightSkyBlue | clrLawnGreen | clrChocolate | clrPlum |
clrBisque | clrSkyBlue | clrChartreuse | clrSienna | clrOrchid |
clrMoccasin | clrLightBlue | clrGreenYellow | clrSaddleBrown | clrMediumOrchid |
clrNavajoWhite | clrPowderBlue | clrLime | clrMaroon | clrDarkOrchid |
clrPeachPuff | clrPaleTurquoise | clrLimeGreen | clrDarkRed | clrDarkViolet |
clrMistyRose | clrLightCyan | clrYellowGreen | clrBrown | clrDarkMagenta |
clrLavenderBlush | clrCyan | clrDarkOliveGreen | clrFireBrick | clrPurple |
clrSeashell | clrAqua | clrOliveDrab | clrIndianRed | clrIndigo |
clrOldLace | clrTurquoise | clrOlive | clrRosyBrown | clrDarkSlateBlue |
clrIvory | clrMediumTurquoise | clrDarkKhaki | clrDarkSalmon | clrBlueViolet |
clrHoneydew | clrDarkTurquoise | clrPaleGoldenrod | clrLightCoral | clrMediumPurple |
clrMintCream | clrLightSeaGreen | clrCornsilk | clrSalmon | clrSlateBlue |
clrAzure | clrCadetBlue | clrBeige | clrLightSalmon | clrMediumSlateBlue |
Webカラー名以外のカラー設定
カラーの設定は 10進数、16進数のRGBで表すこともできます。Webカラーは 140種類ですが、10進数、16進数でのカラー表示は微調整ができますので、最大 16,777,216種類のカラー設定ができます。
10進数の設定方法
「C’0, 255, 0’」のように「C」の後ろに「’ (シングルクォーテーション)」で RGBの数字を囲みます。0~255で設定します。
16進数の設定方法
「C’0xFF, 0x00, 0x00’」のように「C」の後ろにそれぞれの RGBの数字の前に「0x」を付けて 2桁の 16進数 (0~Fで設定) で表します。そして「’ (シングルクォーテーション)」で RGBの表示を囲みます。
設定例
カラー設定例 3パターン
コード
// カラー設定例 3パターン
#property strict
void OnInit() {
int xpixcel = (int)(ChartGetInteger(0,CHART_WIDTH_IN_PIXELS));
int fontsize = 15; // フォントサイズ
int xWidth = xpixcel - 200; // 幅
int yHeight = 20; // 高さ
ObjectsDeleteAll(); // オブジェクト全削除
ObjectCreate("obj_label", OBJ_LABEL,0,0,0); // テキストラベルオブジェクト生成
ObjectSet("obj_label", OBJPROP_XDISTANCE,xWidth); // テキストラベルオブジェクトX軸位置設定
ObjectSet("obj_label", OBJPROP_YDISTANCE,yHeight); // テキストラベルオブジェクトY軸位置設定
ObjectCreate("obj_label2", OBJ_LABEL,0,0,0); // テキストラベルオブジェクト生成
ObjectSet("obj_label2", OBJPROP_XDISTANCE,xWidth); // テキストラベルオブジェクトX軸位置設定
ObjectSet("obj_label2", OBJPROP_YDISTANCE,yHeight + 25); // テキストラベルオブジェクトY軸位置設定
ObjectCreate("obj_label3", OBJ_LABEL,0,0,0); // テキストラベルオブジェクト生成
ObjectSet("obj_label3", OBJPROP_XDISTANCE,xWidth); // テキストラベルオブジェクトX軸位置設定
ObjectSet("obj_label3", OBJPROP_YDISTANCE,yHeight + 50); // テキストラベルオブジェクトY軸位置設定
ObjectSetText("obj_label", "Webカラー表示", fontsize, "MS ゴシック", clrCyan); // シアン色
ObjectSetText("obj_label2", "10進数表示", fontsize, "MS ゴシック", C'0, 255, 0'); // ライム色
ObjectSetText("obj_label3", "16進数表示", fontsize, "MS ゴシック", C'0xFF, 0x00, 0x00'); // 赤色
}
void OnDeinit(const int reason) {
ObjectsDeleteAll();
}
結果
Webカラー全140種類
コード
// カラー設定例 3パターン
#property strict
void OnInit() {
int xpixcel = (int)(ChartGetInteger(0,CHART_WIDTH_IN_PIXELS));
int fs = 15; // フォントサイズ
int x = xpixcel - 200; // 幅
int y = 20; // 高さ
ObjectsDeleteAll(); // オブジェクト全削除
// 左から1列目
// テキストラベルオブジェクト生成 // テキストラベルオブジェクトX軸位置設定 // テキストラベルオブジェクトY軸位置設定 // カラー
ObjectCreate("obj1-01", OBJ_LABEL,0,0,0); ObjectSet("obj1-01", OBJPROP_XDISTANCE,x); ObjectSet("obj1-01", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-01", "■", fs, "MS ゴシック", clrBlack);
y = y + 25;
ObjectCreate("obj1-02", OBJ_LABEL,0,0,0); ObjectSet("obj1-02", OBJPROP_XDISTANCE,x); ObjectSet("obj1-02", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-02", "■", fs, "MS ゴシック", clrDimGray);
y = y + 25;
ObjectCreate("obj1-03", OBJ_LABEL,0,0,0); ObjectSet("obj1-03", OBJPROP_XDISTANCE,x); ObjectSet("obj1-03", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-03", "■", fs, "MS ゴシック", clrGray);
y = y + 25;
ObjectCreate("obj1-04", OBJ_LABEL,0,0,0); ObjectSet("obj1-04", OBJPROP_XDISTANCE,x); ObjectSet("obj1-04", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-04", "■", fs, "MS ゴシック", clrDarkGray);
y = y + 25;
ObjectCreate("obj1-05", OBJ_LABEL,0,0,0); ObjectSet("obj1-05", OBJPROP_XDISTANCE,x); ObjectSet("obj1-05", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-05", "■", fs, "MS ゴシック", clrSilver);
y = y + 25;
ObjectCreate("obj1-06", OBJ_LABEL,0,0,0); ObjectSet("obj1-06", OBJPROP_XDISTANCE,x); ObjectSet("obj1-06", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-06", "■", fs, "MS ゴシック", clrLightGray);
y = y + 25;
ObjectCreate("obj1-07", OBJ_LABEL,0,0,0); ObjectSet("obj1-07", OBJPROP_XDISTANCE,x); ObjectSet("obj1-07", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-07", "■", fs, "MS ゴシック", clrGainsboro);
y = y + 25;
ObjectCreate("obj1-08", OBJ_LABEL,0,0,0); ObjectSet("obj1-08", OBJPROP_XDISTANCE,x); ObjectSet("obj1-08", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-08", "■", fs, "MS ゴシック", clrWhiteSmoke);
y = y + 25;
ObjectCreate("obj1-09", OBJ_LABEL,0,0,0); ObjectSet("obj1-09", OBJPROP_XDISTANCE,x); ObjectSet("obj1-09", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-09", "■", fs, "MS ゴシック", clrWhite);
y = y + 25;
ObjectCreate("obj1-10", OBJ_LABEL,0,0,0); ObjectSet("obj1-10", OBJPROP_XDISTANCE,x); ObjectSet("obj1-10", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-10", "■", fs, "MS ゴシック", clrSnow);
y = y + 25;
ObjectCreate("obj1-11", OBJ_LABEL,0,0,0); ObjectSet("obj1-11", OBJPROP_XDISTANCE,x); ObjectSet("obj1-11", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-11", "■", fs, "MS ゴシック", clrGhostWhite);
y = y + 25;
ObjectCreate("obj1-12", OBJ_LABEL,0,0,0); ObjectSet("obj1-12", OBJPROP_XDISTANCE,x); ObjectSet("obj1-12", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-12", "■", fs, "MS ゴシック", clrFloralWhite);
y = y + 25;
ObjectCreate("obj1-13", OBJ_LABEL,0,0,0); ObjectSet("obj1-13", OBJPROP_XDISTANCE,x); ObjectSet("obj1-13", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-13", "■", fs, "MS ゴシック", clrLinen);
y = y + 25;
ObjectCreate("obj1-14", OBJ_LABEL,0,0,0); ObjectSet("obj1-14", OBJPROP_XDISTANCE,x); ObjectSet("obj1-14", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-14", "■", fs, "MS ゴシック", clrAntiqueWhite);
y = y + 25;
ObjectCreate("obj1-15", OBJ_LABEL,0,0,0); ObjectSet("obj1-15", OBJPROP_XDISTANCE,x); ObjectSet("obj1-15", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-15", "■", fs, "MS ゴシック", clrPapayaWhip);
y = y + 25;
ObjectCreate("obj1-16", OBJ_LABEL,0,0,0); ObjectSet("obj1-16", OBJPROP_XDISTANCE,x); ObjectSet("obj1-16", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-16", "■", fs, "MS ゴシック", clrBlanchedAlmond);
y = y + 25;
ObjectCreate("obj1-17", OBJ_LABEL,0,0,0); ObjectSet("obj1-17", OBJPROP_XDISTANCE,x); ObjectSet("obj1-17", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-17", "■", fs, "MS ゴシック", clrBisque);
y = y + 25;
ObjectCreate("obj1-18", OBJ_LABEL,0,0,0); ObjectSet("obj1-18", OBJPROP_XDISTANCE,x); ObjectSet("obj1-18", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-18", "■", fs, "MS ゴシック", clrMoccasin);
y = y + 25;
ObjectCreate("obj1-19", OBJ_LABEL,0,0,0); ObjectSet("obj1-19", OBJPROP_XDISTANCE,x); ObjectSet("obj1-19", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-19", "■", fs, "MS ゴシック", clrNavajoWhite);
y = y + 25;
ObjectCreate("obj1-20", OBJ_LABEL,0,0,0); ObjectSet("obj1-20", OBJPROP_XDISTANCE,x); ObjectSet("obj1-20", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-20", "■", fs, "MS ゴシック", clrPeachPuff);
y = y + 25;
ObjectCreate("obj1-21", OBJ_LABEL,0,0,0); ObjectSet("obj1-21", OBJPROP_XDISTANCE,x); ObjectSet("obj1-21", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-21", "■", fs, "MS ゴシック", clrMistyRose);
y = y + 25;
ObjectCreate("obj1-22", OBJ_LABEL,0,0,0); ObjectSet("obj1-22", OBJPROP_XDISTANCE,x); ObjectSet("obj1-22", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-22", "■", fs, "MS ゴシック", clrLavenderBlush);
y = y + 25;
ObjectCreate("obj1-23", OBJ_LABEL,0,0,0); ObjectSet("obj1-23", OBJPROP_XDISTANCE,x); ObjectSet("obj1-23", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-23", "■", fs, "MS ゴシック", clrSeashell);
y = y + 25;
ObjectCreate("obj1-24", OBJ_LABEL,0,0,0); ObjectSet("obj1-24", OBJPROP_XDISTANCE,x); ObjectSet("obj1-24", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-24", "■", fs, "MS ゴシック", clrOldLace);
y = y + 25;
ObjectCreate("obj1-25", OBJ_LABEL,0,0,0); ObjectSet("obj1-25", OBJPROP_XDISTANCE,x); ObjectSet("obj1-25", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-25", "■", fs, "MS ゴシック", clrIvory);
y = y + 25;
ObjectCreate("obj1-26", OBJ_LABEL,0,0,0); ObjectSet("obj1-26", OBJPROP_XDISTANCE,x); ObjectSet("obj1-26", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-26", "■", fs, "MS ゴシック", clrHoneydew);
y = y + 25;
ObjectCreate("obj1-27", OBJ_LABEL,0,0,0); ObjectSet("obj1-27", OBJPROP_XDISTANCE,x); ObjectSet("obj1-27", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-27", "■", fs, "MS ゴシック", clrMintCream);
y = y + 25;
ObjectCreate("obj1-28", OBJ_LABEL,0,0,0); ObjectSet("obj1-28", OBJPROP_XDISTANCE,x); ObjectSet("obj1-28", OBJPROP_YDISTANCE,y); ObjectSetText("obj1-28", "■", fs, "MS ゴシック", clrAzure);
// 左から2列目
x = x + 25; y = 20;
ObjectCreate("obj2-01", OBJ_LABEL,0,0,0); ObjectSet("obj2-01", OBJPROP_XDISTANCE,x); ObjectSet("obj2-01", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-01", "■", fs, "MS ゴシック", clrAliceBlue);
y = y + 25;
ObjectCreate("obj2-02", OBJ_LABEL,0,0,0); ObjectSet("obj2-02", OBJPROP_XDISTANCE,x); ObjectSet("obj2-02", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-02", "■", fs, "MS ゴシック", clrLavender);
y = y + 25;
ObjectCreate("obj2-03", OBJ_LABEL,0,0,0); ObjectSet("obj2-03", OBJPROP_XDISTANCE,x); ObjectSet("obj2-03", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-03", "■", fs, "MS ゴシック", clrLightSteelBlue);
y = y + 25;
ObjectCreate("obj2-04", OBJ_LABEL,0,0,0); ObjectSet("obj2-04", OBJPROP_XDISTANCE,x); ObjectSet("obj2-04", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-04", "■", fs, "MS ゴシック", clrLightSlateGray);
y = y + 25;
ObjectCreate("obj2-05", OBJ_LABEL,0,0,0); ObjectSet("obj2-05", OBJPROP_XDISTANCE,x); ObjectSet("obj2-05", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-05", "■", fs, "MS ゴシック", clrSlateGray);
y = y + 25;
ObjectCreate("obj2-06", OBJ_LABEL,0,0,0); ObjectSet("obj2-06", OBJPROP_XDISTANCE,x); ObjectSet("obj2-06", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-06", "■", fs, "MS ゴシック", clrSteelBlue);
y = y + 25;
ObjectCreate("obj2-07", OBJ_LABEL,0,0,0); ObjectSet("obj2-07", OBJPROP_XDISTANCE,x); ObjectSet("obj2-07", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-07", "■", fs, "MS ゴシック", clrRoyalBlue);
y = y + 25;
ObjectCreate("obj2-08", OBJ_LABEL,0,0,0); ObjectSet("obj2-08", OBJPROP_XDISTANCE,x); ObjectSet("obj2-08", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-08", "■", fs, "MS ゴシック", clrMidnightBlue);
y = y + 25;
ObjectCreate("obj2-09", OBJ_LABEL,0,0,0); ObjectSet("obj2-09", OBJPROP_XDISTANCE,x); ObjectSet("obj2-09", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-09", "■", fs, "MS ゴシック", clrNavy);
y = y + 25;
ObjectCreate("obj2-10", OBJ_LABEL,0,0,0); ObjectSet("obj2-10", OBJPROP_XDISTANCE,x); ObjectSet("obj2-10", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-10", "■", fs, "MS ゴシック", clrDarkBlue);
y = y + 25;
ObjectCreate("obj2-11", OBJ_LABEL,0,0,0); ObjectSet("obj2-11", OBJPROP_XDISTANCE,x); ObjectSet("obj2-11", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-11", "■", fs, "MS ゴシック", clrMediumBlue);
y = y + 25;
ObjectCreate("obj2-12", OBJ_LABEL,0,0,0); ObjectSet("obj2-12", OBJPROP_XDISTANCE,x); ObjectSet("obj2-12", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-12", "■", fs, "MS ゴシック", clrBlue);
y = y + 25;
ObjectCreate("obj2-13", OBJ_LABEL,0,0,0); ObjectSet("obj2-13", OBJPROP_XDISTANCE,x); ObjectSet("obj2-13", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-13", "■", fs, "MS ゴシック", clrDodgerBlue);
y = y + 25;
ObjectCreate("obj2-14", OBJ_LABEL,0,0,0); ObjectSet("obj2-14", OBJPROP_XDISTANCE,x); ObjectSet("obj2-14", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-14", "■", fs, "MS ゴシック", clrCornflowerBlue);
y = y + 25;
ObjectCreate("obj2-15", OBJ_LABEL,0,0,0); ObjectSet("obj2-15", OBJPROP_XDISTANCE,x); ObjectSet("obj2-15", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-15", "■", fs, "MS ゴシック", clrDeepSkyBlue);
y = y + 25;
ObjectCreate("obj2-16", OBJ_LABEL,0,0,0); ObjectSet("obj2-16", OBJPROP_XDISTANCE,x); ObjectSet("obj2-16", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-16", "■", fs, "MS ゴシック", clrLightSkyBlue);
y = y + 25;
ObjectCreate("obj2-17", OBJ_LABEL,0,0,0); ObjectSet("obj2-17", OBJPROP_XDISTANCE,x); ObjectSet("obj2-17", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-17", "■", fs, "MS ゴシック", clrSkyBlue);
y = y + 25;
ObjectCreate("obj2-18", OBJ_LABEL,0,0,0); ObjectSet("obj2-18", OBJPROP_XDISTANCE,x); ObjectSet("obj2-18", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-18", "■", fs, "MS ゴシック", clrLightBlue);
y = y + 25;
ObjectCreate("obj2-19", OBJ_LABEL,0,0,0); ObjectSet("obj2-19", OBJPROP_XDISTANCE,x); ObjectSet("obj2-19", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-19", "■", fs, "MS ゴシック", clrPowderBlue);
y = y + 25;
ObjectCreate("obj2-20", OBJ_LABEL,0,0,0); ObjectSet("obj2-20", OBJPROP_XDISTANCE,x); ObjectSet("obj2-20", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-20", "■", fs, "MS ゴシック", clrPaleTurquoise);
y = y + 25;
ObjectCreate("obj2-21", OBJ_LABEL,0,0,0); ObjectSet("obj2-21", OBJPROP_XDISTANCE,x); ObjectSet("obj2-21", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-21", "■", fs, "MS ゴシック", clrLightCyan);
y = y + 25;
ObjectCreate("obj2-22", OBJ_LABEL,0,0,0); ObjectSet("obj2-22", OBJPROP_XDISTANCE,x); ObjectSet("obj2-22", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-22", "■", fs, "MS ゴシック", clrCyan);
y = y + 25;
ObjectCreate("obj2-23", OBJ_LABEL,0,0,0); ObjectSet("obj2-23", OBJPROP_XDISTANCE,x); ObjectSet("obj2-23", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-23", "■", fs, "MS ゴシック", clrAqua);
y = y + 25;
ObjectCreate("obj2-24", OBJ_LABEL,0,0,0); ObjectSet("obj2-24", OBJPROP_XDISTANCE,x); ObjectSet("obj2-24", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-24", "■", fs, "MS ゴシック", clrTurquoise);
y = y + 25;
ObjectCreate("obj2-25", OBJ_LABEL,0,0,0); ObjectSet("obj2-25", OBJPROP_XDISTANCE,x); ObjectSet("obj2-25", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-25", "■", fs, "MS ゴシック", clrMediumTurquoise);
y = y + 25;
ObjectCreate("obj2-26", OBJ_LABEL,0,0,0); ObjectSet("obj2-26", OBJPROP_XDISTANCE,x); ObjectSet("obj2-26", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-26", "■", fs, "MS ゴシック", clrDarkTurquoise);
y = y + 25;
ObjectCreate("obj2-27", OBJ_LABEL,0,0,0); ObjectSet("obj2-27", OBJPROP_XDISTANCE,x); ObjectSet("obj2-27", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-27", "■", fs, "MS ゴシック", clrLightSeaGreen);
y = y + 25;
ObjectCreate("obj2-28", OBJ_LABEL,0,0,0); ObjectSet("obj2-28", OBJPROP_XDISTANCE,x); ObjectSet("obj2-28", OBJPROP_YDISTANCE,y); ObjectSetText("obj2-28", "■", fs, "MS ゴシック", clrCadetBlue);
// 左から3列目
x = x + 25; y = 20;
ObjectCreate("obj3-01", OBJ_LABEL,0,0,0); ObjectSet("obj3-01", OBJPROP_XDISTANCE,x); ObjectSet("obj3-01", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-01", "■", fs, "MS ゴシック", clrDarkCyan);
y = y + 25;
ObjectCreate("obj3-02", OBJ_LABEL,0,0,0); ObjectSet("obj3-02", OBJPROP_XDISTANCE,x); ObjectSet("obj3-02", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-02", "■", fs, "MS ゴシック", clrTeal);
y = y + 25;
ObjectCreate("obj3-03", OBJ_LABEL,0,0,0); ObjectSet("obj3-03", OBJPROP_XDISTANCE,x); ObjectSet("obj3-03", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-03", "■", fs, "MS ゴシック", clrDarkSlateGray);
y = y + 25;
ObjectCreate("obj3-04", OBJ_LABEL,0,0,0); ObjectSet("obj3-04", OBJPROP_XDISTANCE,x); ObjectSet("obj3-04", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-04", "■", fs, "MS ゴシック", clrDarkGreen);
y = y + 25;
ObjectCreate("obj3-05", OBJ_LABEL,0,0,0); ObjectSet("obj3-05", OBJPROP_XDISTANCE,x); ObjectSet("obj3-05", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-05", "■", fs, "MS ゴシック", clrGreen);
y = y + 25;
ObjectCreate("obj3-06", OBJ_LABEL,0,0,0); ObjectSet("obj3-06", OBJPROP_XDISTANCE,x); ObjectSet("obj3-06", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-06", "■", fs, "MS ゴシック", clrForestGreen);
y = y + 25;
ObjectCreate("obj3-07", OBJ_LABEL,0,0,0); ObjectSet("obj3-07", OBJPROP_XDISTANCE,x); ObjectSet("obj3-07", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-07", "■", fs, "MS ゴシック", clrSeaGreen);
y = y + 25;
ObjectCreate("obj3-08", OBJ_LABEL,0,0,0); ObjectSet("obj3-08", OBJPROP_XDISTANCE,x); ObjectSet("obj3-08", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-08", "■", fs, "MS ゴシック", clrMediumSeaGreen);
y = y + 25;
ObjectCreate("obj3-09", OBJ_LABEL,0,0,0); ObjectSet("obj3-09", OBJPROP_XDISTANCE,x); ObjectSet("obj3-09", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-09", "■", fs, "MS ゴシック", clrMediumAquamarine);
y = y + 25;
ObjectCreate("obj3-10", OBJ_LABEL,0,0,0); ObjectSet("obj3-10", OBJPROP_XDISTANCE,x); ObjectSet("obj3-10", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-10", "■", fs, "MS ゴシック", clrDarkSeaGreen);
y = y + 25;
ObjectCreate("obj3-11", OBJ_LABEL,0,0,0); ObjectSet("obj3-11", OBJPROP_XDISTANCE,x); ObjectSet("obj3-11", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-11", "■", fs, "MS ゴシック", clrAquamarine);
y = y + 25;
ObjectCreate("obj3-12", OBJ_LABEL,0,0,0); ObjectSet("obj3-12", OBJPROP_XDISTANCE,x); ObjectSet("obj3-12", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-12", "■", fs, "MS ゴシック", clrPaleGreen);
y = y + 25;
ObjectCreate("obj3-13", OBJ_LABEL,0,0,0); ObjectSet("obj3-13", OBJPROP_XDISTANCE,x); ObjectSet("obj3-13", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-13", "■", fs, "MS ゴシック", clrLightGreen);
y = y + 25;
ObjectCreate("obj3-14", OBJ_LABEL,0,0,0); ObjectSet("obj3-14", OBJPROP_XDISTANCE,x); ObjectSet("obj3-14", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-14", "■", fs, "MS ゴシック", clrSpringGreen);
y = y + 25;
ObjectCreate("obj3-15", OBJ_LABEL,0,0,0); ObjectSet("obj3-15", OBJPROP_XDISTANCE,x); ObjectSet("obj3-15", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-15", "■", fs, "MS ゴシック", clrMediumSpringGreen);
y = y + 25;
ObjectCreate("obj3-16", OBJ_LABEL,0,0,0); ObjectSet("obj3-16", OBJPROP_XDISTANCE,x); ObjectSet("obj3-16", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-16", "■", fs, "MS ゴシック", clrLawnGreen);
y = y + 25;
ObjectCreate("obj3-17", OBJ_LABEL,0,0,0); ObjectSet("obj3-17", OBJPROP_XDISTANCE,x); ObjectSet("obj3-17", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-17", "■", fs, "MS ゴシック", clrChartreuse);
y = y + 25;
ObjectCreate("obj3-18", OBJ_LABEL,0,0,0); ObjectSet("obj3-18", OBJPROP_XDISTANCE,x); ObjectSet("obj3-18", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-18", "■", fs, "MS ゴシック", clrGreenYellow);
y = y + 25;
ObjectCreate("obj3-19", OBJ_LABEL,0,0,0); ObjectSet("obj3-19", OBJPROP_XDISTANCE,x); ObjectSet("obj3-19", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-19", "■", fs, "MS ゴシック", clrLime);
y = y + 25;
ObjectCreate("obj3-20", OBJ_LABEL,0,0,0); ObjectSet("obj3-20", OBJPROP_XDISTANCE,x); ObjectSet("obj3-20", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-20", "■", fs, "MS ゴシック", clrLimeGreen);
y = y + 25;
ObjectCreate("obj3-21", OBJ_LABEL,0,0,0); ObjectSet("obj3-21", OBJPROP_XDISTANCE,x); ObjectSet("obj3-21", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-21", "■", fs, "MS ゴシック", clrYellowGreen);
y = y + 25;
ObjectCreate("obj3-22", OBJ_LABEL,0,0,0); ObjectSet("obj3-22", OBJPROP_XDISTANCE,x); ObjectSet("obj3-22", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-22", "■", fs, "MS ゴシック", clrDarkOliveGreen);
y = y + 25;
ObjectCreate("obj3-23", OBJ_LABEL,0,0,0); ObjectSet("obj3-23", OBJPROP_XDISTANCE,x); ObjectSet("obj3-23", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-23", "■", fs, "MS ゴシック", clrOliveDrab);
y = y + 25;
ObjectCreate("obj3-24", OBJ_LABEL,0,0,0); ObjectSet("obj3-24", OBJPROP_XDISTANCE,x); ObjectSet("obj3-24", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-24", "■", fs, "MS ゴシック", clrOlive);
y = y + 25;
ObjectCreate("obj3-25", OBJ_LABEL,0,0,0); ObjectSet("obj3-25", OBJPROP_XDISTANCE,x); ObjectSet("obj3-25", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-25", "■", fs, "MS ゴシック", clrDarkKhaki);
y = y + 25;
ObjectCreate("obj3-26", OBJ_LABEL,0,0,0); ObjectSet("obj3-26", OBJPROP_XDISTANCE,x); ObjectSet("obj3-26", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-26", "■", fs, "MS ゴシック", clrPaleGoldenrod);
y = y + 25;
ObjectCreate("obj3-27", OBJ_LABEL,0,0,0); ObjectSet("obj3-27", OBJPROP_XDISTANCE,x); ObjectSet("obj3-27", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-27", "■", fs, "MS ゴシック", clrCornsilk);
y = y + 25;
ObjectCreate("obj3-28", OBJ_LABEL,0,0,0); ObjectSet("obj3-28", OBJPROP_XDISTANCE,x); ObjectSet("obj3-28", OBJPROP_YDISTANCE,y); ObjectSetText("obj3-28", "■", fs, "MS ゴシック", clrBeige);
// 左から4列目
x = x + 25; y = 20;
ObjectCreate("obj4-01", OBJ_LABEL,0,0,0); ObjectSet("obj4-01", OBJPROP_XDISTANCE,x); ObjectSet("obj4-01", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-01", "■", fs, "MS ゴシック", clrLightYellow);
y = y + 25;
ObjectCreate("obj4-02", OBJ_LABEL,0,0,0); ObjectSet("obj4-02", OBJPROP_XDISTANCE,x); ObjectSet("obj4-02", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-02", "■", fs, "MS ゴシック", clrLightGoldenrod);
y = y + 25;
ObjectCreate("obj4-03", OBJ_LABEL,0,0,0); ObjectSet("obj4-03", OBJPROP_XDISTANCE,x); ObjectSet("obj4-03", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-03", "■", fs, "MS ゴシック", clrLemonChiffon);
y = y + 25;
ObjectCreate("obj4-04", OBJ_LABEL,0,0,0); ObjectSet("obj4-04", OBJPROP_XDISTANCE,x); ObjectSet("obj4-04", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-04", "■", fs, "MS ゴシック", clrWheat);
y = y + 25;
ObjectCreate("obj4-05", OBJ_LABEL,0,0,0); ObjectSet("obj4-05", OBJPROP_XDISTANCE,x); ObjectSet("obj4-05", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-05", "■", fs, "MS ゴシック", clrBurlyWood);
y = y + 25;
ObjectCreate("obj4-06", OBJ_LABEL,0,0,0); ObjectSet("obj4-06", OBJPROP_XDISTANCE,x); ObjectSet("obj4-06", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-06", "■", fs, "MS ゴシック", clrTan);
y = y + 25;
ObjectCreate("obj4-07", OBJ_LABEL,0,0,0); ObjectSet("obj4-07", OBJPROP_XDISTANCE,x); ObjectSet("obj4-07", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-07", "■", fs, "MS ゴシック", clrKhaki);
y = y + 25;
ObjectCreate("obj4-08", OBJ_LABEL,0,0,0); ObjectSet("obj4-08", OBJPROP_XDISTANCE,x); ObjectSet("obj4-08", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-08", "■", fs, "MS ゴシック", clrYellow);
y = y + 25;
ObjectCreate("obj4-09", OBJ_LABEL,0,0,0); ObjectSet("obj4-09", OBJPROP_XDISTANCE,x); ObjectSet("obj4-09", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-09", "■", fs, "MS ゴシック", clrGold);
y = y + 25;
ObjectCreate("obj4-10", OBJ_LABEL,0,0,0); ObjectSet("obj4-10", OBJPROP_XDISTANCE,x); ObjectSet("obj4-10", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-10", "■", fs, "MS ゴシック", clrOrange);
y = y + 25;
ObjectCreate("obj4-11", OBJ_LABEL,0,0,0); ObjectSet("obj4-11", OBJPROP_XDISTANCE,x); ObjectSet("obj4-11", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-11", "■", fs, "MS ゴシック", clrSandyBrown);
y = y + 25;
ObjectCreate("obj4-12", OBJ_LABEL,0,0,0); ObjectSet("obj4-12", OBJPROP_XDISTANCE,x); ObjectSet("obj4-12", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-12", "■", fs, "MS ゴシック", clrDarkOrange);
y = y + 25;
ObjectCreate("obj4-13", OBJ_LABEL,0,0,0); ObjectSet("obj4-13", OBJPROP_XDISTANCE,x); ObjectSet("obj4-13", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-13", "■", fs, "MS ゴシック", clrGoldenrod);
y = y + 25;
ObjectCreate("obj4-14", OBJ_LABEL,0,0,0); ObjectSet("obj4-14", OBJPROP_XDISTANCE,x); ObjectSet("obj4-14", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-14", "■", fs, "MS ゴシック", clrPeru);
y = y + 25;
ObjectCreate("obj4-15", OBJ_LABEL,0,0,0); ObjectSet("obj4-15", OBJPROP_XDISTANCE,x); ObjectSet("obj4-15", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-15", "■", fs, "MS ゴシック", clrDarkGoldenrod);
y = y + 25;
ObjectCreate("obj4-16", OBJ_LABEL,0,0,0); ObjectSet("obj4-16", OBJPROP_XDISTANCE,x); ObjectSet("obj4-16", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-16", "■", fs, "MS ゴシック", clrChocolate);
y = y + 25;
ObjectCreate("obj4-17", OBJ_LABEL,0,0,0); ObjectSet("obj4-17", OBJPROP_XDISTANCE,x); ObjectSet("obj4-17", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-17", "■", fs, "MS ゴシック", clrSienna);
y = y + 25;
ObjectCreate("obj4-18", OBJ_LABEL,0,0,0); ObjectSet("obj4-18", OBJPROP_XDISTANCE,x); ObjectSet("obj4-18", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-18", "■", fs, "MS ゴシック", clrSaddleBrown);
y = y + 25;
ObjectCreate("obj4-19", OBJ_LABEL,0,0,0); ObjectSet("obj4-19", OBJPROP_XDISTANCE,x); ObjectSet("obj4-19", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-19", "■", fs, "MS ゴシック", clrMaroon);
y = y + 25;
ObjectCreate("obj4-20", OBJ_LABEL,0,0,0); ObjectSet("obj4-20", OBJPROP_XDISTANCE,x); ObjectSet("obj4-20", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-20", "■", fs, "MS ゴシック", clrDarkRed);
y = y + 25;
ObjectCreate("obj4-21", OBJ_LABEL,0,0,0); ObjectSet("obj4-21", OBJPROP_XDISTANCE,x); ObjectSet("obj4-21", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-21", "■", fs, "MS ゴシック", clrBrown);
y = y + 25;
ObjectCreate("obj4-22", OBJ_LABEL,0,0,0); ObjectSet("obj4-22", OBJPROP_XDISTANCE,x); ObjectSet("obj4-22", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-22", "■", fs, "MS ゴシック", clrFireBrick);
y = y + 25;
ObjectCreate("obj4-23", OBJ_LABEL,0,0,0); ObjectSet("obj4-23", OBJPROP_XDISTANCE,x); ObjectSet("obj4-23", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-23", "■", fs, "MS ゴシック", clrIndianRed);
y = y + 25;
ObjectCreate("obj4-24", OBJ_LABEL,0,0,0); ObjectSet("obj4-24", OBJPROP_XDISTANCE,x); ObjectSet("obj4-24", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-24", "■", fs, "MS ゴシック", clrRosyBrown);
y = y + 25;
ObjectCreate("obj4-25", OBJ_LABEL,0,0,0); ObjectSet("obj4-25", OBJPROP_XDISTANCE,x); ObjectSet("obj4-25", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-25", "■", fs, "MS ゴシック", clrDarkSalmon);
y = y + 25;
ObjectCreate("obj4-26", OBJ_LABEL,0,0,0); ObjectSet("obj4-26", OBJPROP_XDISTANCE,x); ObjectSet("obj4-26", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-26", "■", fs, "MS ゴシック", clrLightCoral);
y = y + 25;
ObjectCreate("obj4-27", OBJ_LABEL,0,0,0); ObjectSet("obj4-27", OBJPROP_XDISTANCE,x); ObjectSet("obj4-27", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-27", "■", fs, "MS ゴシック", clrSalmon);
y = y + 25;
ObjectCreate("obj4-28", OBJ_LABEL,0,0,0); ObjectSet("obj4-28", OBJPROP_XDISTANCE,x); ObjectSet("obj4-28", OBJPROP_YDISTANCE,y); ObjectSetText("obj4-28", "■", fs, "MS ゴシック", clrLightSalmon);
// 左から5列目
x = x + 25; y = 20;
ObjectCreate("obj5-01", OBJ_LABEL,0,0,0); ObjectSet("obj5-01", OBJPROP_XDISTANCE,x); ObjectSet("obj5-01", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-01", "■", fs, "MS ゴシック", clrCoral);
y = y + 25;
ObjectCreate("obj5-02", OBJ_LABEL,0,0,0); ObjectSet("obj5-02", OBJPROP_XDISTANCE,x); ObjectSet("obj5-02", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-02", "■", fs, "MS ゴシック", clrTomato);
y = y + 25;
ObjectCreate("obj5-03", OBJ_LABEL,0,0,0); ObjectSet("obj5-03", OBJPROP_XDISTANCE,x); ObjectSet("obj5-03", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-03", "■", fs, "MS ゴシック", clrOrangeRed);
y = y + 25;
ObjectCreate("obj5-04", OBJ_LABEL,0,0,0); ObjectSet("obj5-04", OBJPROP_XDISTANCE,x); ObjectSet("obj5-04", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-04", "■", fs, "MS ゴシック", clrRed);
y = y + 25;
ObjectCreate("obj5-05", OBJ_LABEL,0,0,0); ObjectSet("obj5-05", OBJPROP_XDISTANCE,x); ObjectSet("obj5-05", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-05", "■", fs, "MS ゴシック", clrCrimson);
y = y + 25;
ObjectCreate("obj5-06", OBJ_LABEL,0,0,0); ObjectSet("obj5-06", OBJPROP_XDISTANCE,x); ObjectSet("obj5-06", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-06", "■", fs, "MS ゴシック", clrMediumVioletRed);
y = y + 25;
ObjectCreate("obj5-07", OBJ_LABEL,0,0,0); ObjectSet("obj5-07", OBJPROP_XDISTANCE,x); ObjectSet("obj5-07", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-07", "■", fs, "MS ゴシック", clrDeepPink);
y = y + 25;
ObjectCreate("obj5-08", OBJ_LABEL,0,0,0); ObjectSet("obj5-08", OBJPROP_XDISTANCE,x); ObjectSet("obj5-08", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-08", "■", fs, "MS ゴシック", clrHotPink);
y = y + 25;
ObjectCreate("obj5-09", OBJ_LABEL,0,0,0); ObjectSet("obj5-09", OBJPROP_XDISTANCE,x); ObjectSet("obj5-09", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-09", "■", fs, "MS ゴシック", clrPaleVioletRed);
y = y + 25;
ObjectCreate("obj5-10", OBJ_LABEL,0,0,0); ObjectSet("obj5-10", OBJPROP_XDISTANCE,x); ObjectSet("obj5-10", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-10", "■", fs, "MS ゴシック", clrPink);
y = y + 25;
ObjectCreate("obj5-11", OBJ_LABEL,0,0,0); ObjectSet("obj5-11", OBJPROP_XDISTANCE,x); ObjectSet("obj5-11", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-11", "■", fs, "MS ゴシック", clrLightPink);
y = y + 25;
ObjectCreate("obj5-12", OBJ_LABEL,0,0,0); ObjectSet("obj5-12", OBJPROP_XDISTANCE,x); ObjectSet("obj5-12", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-12", "■", fs, "MS ゴシック", clrThistle);
y = y + 25;
ObjectCreate("obj5-13", OBJ_LABEL,0,0,0); ObjectSet("obj5-13", OBJPROP_XDISTANCE,x); ObjectSet("obj5-13", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-13", "■", fs, "MS ゴシック", clrMagenta);
y = y + 25;
ObjectCreate("obj5-14", OBJ_LABEL,0,0,0); ObjectSet("obj5-14", OBJPROP_XDISTANCE,x); ObjectSet("obj5-14", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-14", "■", fs, "MS ゴシック", clrFuchsia);
y = y + 25;
ObjectCreate("obj5-15", OBJ_LABEL,0,0,0); ObjectSet("obj5-15", OBJPROP_XDISTANCE,x); ObjectSet("obj5-15", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-15", "■", fs, "MS ゴシック", clrViolet);
y = y + 25;
ObjectCreate("obj5-16", OBJ_LABEL,0,0,0); ObjectSet("obj5-16", OBJPROP_XDISTANCE,x); ObjectSet("obj5-16", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-16", "■", fs, "MS ゴシック", clrPlum);
y = y + 25;
ObjectCreate("obj5-17", OBJ_LABEL,0,0,0); ObjectSet("obj5-17", OBJPROP_XDISTANCE,x); ObjectSet("obj5-17", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-17", "■", fs, "MS ゴシック", clrOrchid);
y = y + 25;
ObjectCreate("obj5-18", OBJ_LABEL,0,0,0); ObjectSet("obj5-18", OBJPROP_XDISTANCE,x); ObjectSet("obj5-18", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-18", "■", fs, "MS ゴシック", clrMediumOrchid);
y = y + 25;
ObjectCreate("obj5-19", OBJ_LABEL,0,0,0); ObjectSet("obj5-19", OBJPROP_XDISTANCE,x); ObjectSet("obj5-19", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-19", "■", fs, "MS ゴシック", clrDarkOrchid);
y = y + 25;
ObjectCreate("obj5-20", OBJ_LABEL,0,0,0); ObjectSet("obj5-20", OBJPROP_XDISTANCE,x); ObjectSet("obj5-20", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-20", "■", fs, "MS ゴシック", clrDarkViolet);
y = y + 25;
ObjectCreate("obj5-21", OBJ_LABEL,0,0,0); ObjectSet("obj5-21", OBJPROP_XDISTANCE,x); ObjectSet("obj5-21", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-21", "■", fs, "MS ゴシック", clrDarkMagenta);
y = y + 25;
ObjectCreate("obj5-22", OBJ_LABEL,0,0,0); ObjectSet("obj5-22", OBJPROP_XDISTANCE,x); ObjectSet("obj5-22", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-22", "■", fs, "MS ゴシック", clrPurple);
y = y + 25;
ObjectCreate("obj5-23", OBJ_LABEL,0,0,0); ObjectSet("obj5-23", OBJPROP_XDISTANCE,x); ObjectSet("obj5-23", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-23", "■", fs, "MS ゴシック", clrIndigo);
y = y + 25;
ObjectCreate("obj5-24", OBJ_LABEL,0,0,0); ObjectSet("obj5-24", OBJPROP_XDISTANCE,x); ObjectSet("obj5-24", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-24", "■", fs, "MS ゴシック", clrDarkSlateBlue);
y = y + 25;
ObjectCreate("obj5-25", OBJ_LABEL,0,0,0); ObjectSet("obj5-25", OBJPROP_XDISTANCE,x); ObjectSet("obj5-25", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-25", "■", fs, "MS ゴシック", clrBlueViolet);
y = y + 25;
ObjectCreate("obj5-26", OBJ_LABEL,0,0,0); ObjectSet("obj5-26", OBJPROP_XDISTANCE,x); ObjectSet("obj5-26", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-26", "■", fs, "MS ゴシック", clrMediumPurple);
y = y + 25;
ObjectCreate("obj5-27", OBJ_LABEL,0,0,0); ObjectSet("obj5-27", OBJPROP_XDISTANCE,x); ObjectSet("obj5-27", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-27", "■", fs, "MS ゴシック", clrSlateBlue);
y = y + 25;
ObjectCreate("obj5-28", OBJ_LABEL,0,0,0); ObjectSet("obj5-28", OBJPROP_XDISTANCE,x); ObjectSet("obj5-28", OBJPROP_YDISTANCE,y); ObjectSetText("obj5-28", "■", fs, "MS ゴシック", clrMediumSlateBlue);
}
void OnDeinit(const int reason) {
ObjectsDeleteAll();
}
結果
全140種類のWebカラーが表示されます。1行1列目 (1番左上) は黒色が表示されています。