problem with colors

Discussion in 'Developers Corner' started by half.italian, Apr 27, 2006.

  1. half.italian

    half.italian New Member

    46
    0
    Mar 11, 2006

    Advertisements

    I was expecting to set the color of a BText field using this:

    text.setColor(Color.getHSBColor(float, float, float))

    I went into photoshop, chose my color, then input the HSB values into the function and didn't get what I was expecting at all. In fact I messed around with the values and didn't seem to find any correlation between Photoshop values and the color given by the function. For example: h=100, s=100, b=0 gives me a bright red in Photoshop. I tried all combinations with both 100 and 255 and only got yellow.

    What am I missing?
     
  2. apps-tv

    apps-tv apps.tv for hme apps

    66
    0
    Sep 8, 2005
    San Jose, CA

Share This Page

spam firewall

Advertisements