{"id":235,"date":"2010-08-31T20:20:03","date_gmt":"2010-09-01T01:20:03","guid":{"rendered":"http:\/\/anvil-of-time.com\/wordpress\/?p=235"},"modified":"2021-03-09T08:14:09","modified_gmt":"2021-03-09T13:14:09","slug":"powerbuilder-color-settings","status":"publish","type":"post","link":"https:\/\/anvil-of-time.com\/powerbuilder\/powerbuilder-color-settings\/","title":{"rendered":"PowerBuilder &#8211; Color settings"},"content":{"rendered":"<p>There are still many Powerbuilder web sites with this information but it is an invaluable resource unless you are the kind of person who can memorize these things.<\/p>\n<p>This is a color conversion chart that gives the RGB values for the standard 16 colors and some of the system colors.<\/p>\n<pre>Color        Red  Green  Blue   Long\nBlack          0     0    0      0\nWhite        255   255  255    16777215\nGray         192   192  192    12632256\nDark Gray    128   128  128     8421504\nRed          255     0    0         255\nDark Red     128     0    0         128\nGreen          0   255    0       65280\nDark Green     0   128    0       32768\nBlue           0    0   255    16711680\nDark Blue      0    0   128     8388608\nMagenta      255    0   255    16711935\nDark Magenta 128    0   128     8388736\nCyan           0  255   255    16776960\nDark Cyan      0  128   128     8421376\nYellow       255  255     0       65535\nBrown        128  128     0       32896<\/pre>\n<p>System Colors:<\/p>\n<pre>Windows Text          2^25 = 33554432\nButton Face           2^26 = 67108864\nScrollbar             2^27 = 134217728\nApplication Workspace 2^28 = 268435456\nTransparent           2^29 = 536870912\nWindows Background    2^30 = 1073741824<\/pre>\n<p>RGB Formula<br \/>\nThe formula to generate the long value is: (65536 * Blue) + (256 * Green) + (Red)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are still many Powerbuilder web sites with this information but it is an invaluable resource unless you are the kind of person who can memorize these things. This is a color conversion chart that gives the RGB values for the standard 16 colors and some of the system colors. Color Red Green Blue Long&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[12],"_links":{"self":[{"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/posts\/235"}],"collection":[{"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/comments?post=235"}],"version-history":[{"count":10,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/posts\/235\/revisions"}],"predecessor-version":[{"id":1808,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/posts\/235\/revisions\/1808"}],"wp:attachment":[{"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/media?parent=235"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/categories?post=235"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anvil-of-time.com\/wp-json\/wp\/v2\/tags?post=235"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}