Guest User

Untitled

a guest
Mar 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. CTScRgbColor scrgb = (CTScRgbColor)ch;
  2. int r = scrgb.getR();
  3. int g = scrgb.getG();
  4. int b = scrgb.getB();
  5. color = new Color(255 * r / 100000, 255 * g / 100000, 255 * b / 100000);
Add Comment
Please, Sign In to add comment