Hexadecimal Input


hey guys,

 

i did looking around can't seem find input of hex code via script.  scriptlistener outputs code referencing rgb when editing hex field of color picker.  able find referencing rgbcolor.hexvalue property, not how use it.  template files i'm being given come colors in hex, need way input code change color.  help!

 

dgolberg

you can use colour in hex, cmyk or rgb. if you're using hex still have add rgb property .try this:

 

// set foreground colour red var fgcolor = new solidcolor; fgcolor.rgb.hexvalue ="ff0000"  //bright red foregroundcolor = fgcolor 


More discussions in Photoshop Scripting


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support