×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    214

    Unhappy plz help me in this doubt regarding colors in j2me

    Can anyone tell me where can I find the table for color codes such as 0xabf00f is for green and so on.........

  2. #2
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: plz help me in this doubt regarding colors in j2me

    Quote Originally Posted by kumarv75 View Post
    Can anyone tell me where can I find the table for color codes such as 0xabf00f is for green and so on.........
    I think that This and This are the helpful links.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    214

    Red face Re: plz help me in this doubt regarding colors in j2me

    Quote Originally Posted by raj_J2ME View Post
    I think that This and This are the helpful links.
    Thank u............

  4. #4
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: plz help me in this doubt regarding colors in j2me

    You can directly use R,G,B vaules to get the color you need, dont need go deep in Hex


    see Graphics.setColor

    public void setColor(int red,
    int green,
    int blue)Sets the current color to the specified RGB values. All subsequent rendering operations will use this specified color.

    Parameters:
    red - the red component of the color being set in range 0-255
    green - the green component of the color being set in range 0-255
    blue - the blue component of the color being set in range 0-255

Similar Threads

  1. J2ME or C++ for VoIP on Mobile
    By sandeepkumar03 in forum VoIP
    Replies: 4
    Last Post: 2009-02-02, 10:28
  2. J2ME or C++ for VoIP on Mobile Phone
    By sandeepkumar03 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2008-11-13, 20:14
  3. Acessing voice channel using J2ME
    By diegomello in forum VoIP
    Replies: 1
    Last Post: 2008-10-21, 15:57
  4. Can J2ME be used for sending MMS Message ?
    By seno_ap in forum Mobile Java General
    Replies: 1
    Last Post: 2006-11-24, 14:36
  5. how many colors in J2ME and phone
    By ffunus in forum Mobile Java General
    Replies: 1
    Last Post: 2004-04-11, 23:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×