Dear all,

Some of you might be interested to see the colors defined in formspider. The solution is provided in the answer to this question.

Regards.

George.

asked 04 Jan '15, 12:03

grajan777's gravatar image

grajan777
1011238
accept rate: 10%

edited 04 Jan '15, 12:15


Dear all,

You already know how to do it. But I can save you some typing. Create a new panel and copy the following xml script. To see the colors just preview the panel. No need to run the application. The script:

<panel borderType="TitledBorder">
  <tableLayout cellSpacing="0">
    <row height="23">
      <cell width="130">
        <textLabel label="ALICEBLUE" backgroundColor="ALICEBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="ANTIQUEWHITE" backgroundColor="ANTIQUEWHITE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="AQUA" backgroundColor="AQUA" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="AQUAMARINE" backgroundColor="AQUAMARINE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="AZURE" backgroundColor="AZURE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="BEIGE" backgroundColor="BEIGE" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="BISQUE" backgroundColor="BISQUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="BLACK" backgroundColor="BLACK" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="BLANCHEDALMOND" backgroundColor="BLANCHEDALMOND" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="BLUE" backgroundColor="BLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="BLUEVIOLET" backgroundColor="BLUEVIOLET" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="BROWN" backgroundColor="BROWN" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="BURLYWOOD" backgroundColor="BURLYWOOD" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="CADETBLUE" backgroundColor="CADETBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="CHARTREUSE" backgroundColor="CHARTREUSE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="CHOCOLATE" backgroundColor="CHOCOLATE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="CORAL" backgroundColor="CORAL" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="CORNFLOWERBLUE" backgroundColor="CORNFLOWERBLUE" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="CORNSILK" backgroundColor="CORNSILK" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="CRIMSON" backgroundColor="CRIMSON" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="CYAN" backgroundColor="CYAN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="DARKBLUE" backgroundColor="DARKBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DARKCYAN" backgroundColor="DARKCYAN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DARKGOLDENROD" backgroundColor="DARKGOLDENROD" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="DARKGRAY" backgroundColor="DARKGRAY" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DARKGREEN" backgroundColor="DARKGREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DARKKHAKI" backgroundColor="DARKKHAKI" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="DARKMAGENTA" backgroundColor="DARKMAGENTA" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DARKOLIVEGREEN" backgroundColor="DARKOLIVEGREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DARKORANGE" backgroundColor="DARKORANGE" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="DARKORCHID" backgroundColor="DARKORCHID" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="DARKRED" backgroundColor="DARKRED" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DARKSALMON" backgroundColor="DARKSALMON" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DARKSEAGREEN" backgroundColor="DARKSEAGREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="DARKSLATEBLUE" backgroundColor="DARKSLATEBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="DARKSLATEGRAY" backgroundColor="DARKSLATEGRAY" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="DARKTURQUOISE" backgroundColor="DARKTURQUOISE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DARKVIOLET" backgroundColor="DARKVIOLET" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DEEPPINK" backgroundColor="DEEPPINK" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DEEPSKYBLUE" backgroundColor="DEEPSKYBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DIMGRAY" backgroundColor="DIMGRAY" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="DODGERBLUE" backgroundColor="DODGERBLUE" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="FIREBRICK" backgroundColor="FIREBRICK" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="FLORALWHITE" backgroundColor="FLORALWHITE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="FORESTGREEN" backgroundColor="FORESTGREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="FUCHSIA" backgroundColor="FUCHSIA" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="GAINSBORO" backgroundColor="GAINSBORO" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="GHOSTWHITE" backgroundColor="GHOSTWHITE" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="GOLD" backgroundColor="GOLD" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="GOLDENROD" backgroundColor="GOLDENROD" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="GRAY" backgroundColor="GRAY" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="GREEN" backgroundColor="GREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="GREENYELLOW" backgroundColor="GREENYELLOW" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="HONEYDEW" backgroundColor="HONEYDEW" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="HOTPINK" backgroundColor="HOTPINK" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="INDIANRED" backgroundColor="INDIANRED" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="INDIGO" backgroundColor="INDIGO" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="IVORY" backgroundColor="IVORY" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="KHAKI" backgroundColor="KHAKI" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LAVENDER" backgroundColor="LAVENDER" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="LAVENDERBLUSH" backgroundColor="LAVENDERBLUSH" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LAWNGREEN" backgroundColor="LAWNGREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LEMONCHIFFON" backgroundColor="LEMONCHIFFON" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTBLUE" backgroundColor="LIGHTBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTCORAL" backgroundColor="LIGHTCORAL" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTCYAN" backgroundColor="LIGHTCYAN" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="LightGoldenRodYellow" backgroundColor="LightGoldenRodYellow" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTGRAY" backgroundColor="LIGHTGRAY" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTGREEN" backgroundColor="LIGHTGREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTPINK" backgroundColor="LIGHTPINK" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTSALMON" backgroundColor="LIGHTSALMON" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTSEAGREEN" backgroundColor="LIGHTSEAGREEN" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="LIGHTSKYBLUE" backgroundColor="LIGHTSKYBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTSLATEGRAY" backgroundColor="LIGHTSLATEGRAY" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTSTEELBLUE" backgroundColor="LIGHTSTEELBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIGHTYELLOW" backgroundColor="LIGHTYELLOW" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIME" backgroundColor="LIME" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="LIMEGREEN" backgroundColor="LIMEGREEN" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="LINEN" backgroundColor="LINEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MAGENTA" backgroundColor="MAGENTA" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="MAROON" backgroundColor="MAROON" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MEDIUMAQUAMARINE" backgroundColor="MEDIUMAQUAMARINE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="MEDIUMBLUE" backgroundColor="MEDIUMBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MEDIUMORCHID" backgroundColor="MEDIUMORCHID" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel font-color="white" label="MEDIUMPURPLE" backgroundColor="MEDIUMPURPLE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MEDIUMSEAGREEN" backgroundColor="MEDIUMSEAGREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MEDIUMSLATEBLUE" backgroundColor="MEDIUMSLATEBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MEDIUMSPRINGGREEN" backgroundColor="MEDIUMSPRINGGREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MEDIUMTURQUOISE" backgroundColor="MEDIUMTURQUOISE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MEDIUMVIOLETRED" backgroundColor="MEDIUMVIOLETRED" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel font-color="WHITE" label="MIDNIGHTBLUE" backgroundColor="MIDNIGHTBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MINTCREAM" backgroundColor="MINTCREAM" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MISTYROSE" backgroundColor="MISTYROSE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="MOCCASIN" backgroundColor="MOCCASIN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="NAVAJOWHITE" backgroundColor="NAVAJOWHITE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="NAVY" backgroundColor="NAVY" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="OLDLACE" backgroundColor="OLDLACE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="OLIVE" backgroundColor="OLIVE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="OLIVEDRAB" backgroundColor="OLIVEDRAB" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="ORANGE" backgroundColor="ORANGE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="ORANGERED" backgroundColor="ORANGERED" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="ORCHID" backgroundColor="ORCHID" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="PALEGOLDENROD" backgroundColor="PALEGOLDENROD" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="PALEGREEN" backgroundColor="PALEGREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="PALETURQUOISE" backgroundColor="PALETURQUOISE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="PALEVIOLETRED" backgroundColor="PALEVIOLETRED" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="PAPAYAWHIP" backgroundColor="PAPAYAWHIP" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="PEACHPUFF" backgroundColor="PEACHPUFF" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="PERU" backgroundColor="PERU" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="PINK" backgroundColor="PINK" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="PLUM" backgroundColor="PLUM" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="POWDERBLUE" backgroundColor="POWDERBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="white" label="PURPLE" backgroundColor="PURPLE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="RED" backgroundColor="RED" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="ROSYBROWN" backgroundColor="ROSYBROWN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="ROYALBLUE" backgroundColor="ROYALBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="SADDLEBROWN" backgroundColor="SADDLEBROWN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="SALMON" backgroundColor="SALMON" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="SANDYBROWN" backgroundColor="SANDYBROWN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="SEAGREEN" backgroundColor="SEAGREEN" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel font-color="WHITE" label="SEASHELL" backgroundColor="SEASHELL" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel font-color="WHITE" label="SIENNA" backgroundColor="SIENNA" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="SILVER" backgroundColor="SILVER" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="SKYBLUE" backgroundColor="SKYBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="SLATEBLUE" backgroundColor="SLATEBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="SLATEGRAY" backgroundColor="SLATEGRAY" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="SNOW" backgroundColor="SNOW" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="SPRINGGREEN" backgroundColor="SPRINGGREEN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="STEELBLUE" backgroundColor="STEELBLUE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="TAN" backgroundColor="TAN" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="TEAL" backgroundColor="TEAL" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="THISTLE" backgroundColor="THISTLE" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="TOMATO" backgroundColor="TOMATO" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="TURQUOISE" backgroundColor="TURQUOISE" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="TRANSPARENT" backgroundColor="TRANSPARENT" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="VIOLET" backgroundColor="VIOLET" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="WHEAT" backgroundColor="WHEAT" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="WHITE" backgroundColor="WHITE" text-align="Center"/>
      </cell>
    </row>
    <row height="23">
      <cell width="130">
        <textLabel label="WHITESMOK" backgroundColor="WHITESMOK" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="YELLOW" backgroundColor="YELLOW" text-align="Center"/>
      </cell>
      <cell width="130">
        <textLabel label="YELLOWGREEN" backgroundColor="YELLOWGREEN" text-align="Center"/>
      </cell>
    </row>
  </tableLayout>
</panel>

Regards.

George.

link

answered 04 Jan '15, 12:14

grajan777's gravatar image

grajan777
1011238
accept rate: 10%

edited 06 Jan '15, 00:19

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×14

Asked: 04 Jan '15, 12:03

Seen: 1,055 times

Last updated: 06 Jan '15, 00:19


© Copyright Gerger 2017