Skip to content

Instantly share code, notes, and snippets.

@darkwark
Last active August 29, 2015 14:09
Show Gist options
  • Save darkwark/bdd801de0c9aabfa55b7 to your computer and use it in GitHub Desktop.
Save darkwark/bdd801de0c9aabfa55b7 to your computer and use it in GitHub Desktop.

Revisions

  1. darkwark revised this gist Nov 11, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions rgbColor.jsx
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    var color = app.foregroundColor.rgb;
    var output = "RGB("+
    var color = app.foregroundColor.rgb,
    output = "RGB("+
    color.red + ", " +
    color.green + ", " +
    color.blue +
  2. darkwark renamed this gist Nov 11, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. darkwark renamed this gist Nov 11, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. darkwark revised this gist Nov 11, 2014. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    var color = app.foregroundColor.rgb;
    var output = "RGB("+
    color.red + ", " +
    color.green + ", " +
    color.blue +
    ")";
    color.red + ", " +
    color.green + ", " +
    color.blue +
    ")";
  5. darkwark created this gist Nov 11, 2014.
    6 changes: 6 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    var color = app.foregroundColor.rgb;
    var output = "RGB("+
    color.red + ", " +
    color.green + ", " +
    color.blue +
    ")";