Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8028439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:08:15+00:00 2026-06-05T00:08:15+00:00

I am using RGB color code for my bar to show in iphone app

  • 0

I am using RGB color code for my bar to show in iphone app but they don’t show any color i am getting these code values from photoshop but when i use them they don’t show any color in iphone app

For first line i have RGB code from photoshop is 255.192,0

        color=[UIColor colorWithRed:255 green:192 blue:0 alpha:0 ];

For Second line i have RGB code from photoshop is 195,214,155

        color=[UIColor colorWithRed:195 green:214 blue:155 alpha:0];

For Third line i have RGB code from photoshop is 49,133,156

        color=[UIColor colorWithRed:49 green:133 blue:156 alpha:0 ];
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:08:17+00:00Added an answer on June 5, 2026 at 12:08 am

    The parameters of colorWithRed:green:blue:alpha are floating point values between 0 and 1. So you have to divide all numbers by 255, e.g.:

    color = [UIColor colorWithRed:1.0f green:0.75f blue:0f alpha:1f];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried using this code \newenvironment{bashcommands}{\ttfamily\color[RGB]{22,22,22}\begin{Verbatim}}{\end{Verbatim}} But ended up spitting out an error. The
Does anyone have a code example of using the NXT RGB Color Sensor in
How can I convert RGB values into HTML code? For example, using values like
I am trying to get the RGB background color in IE using the following
I'm trying to color individual pixels in a BufferedImage (TYPE_INT_RGB) using setRGB() , but
I am using python bindings of openkinect for getting the depth and RGB image.
I've created a simple scatter plot in R with specific RGB color values like
I'm creating an app which involves getting the color of part of the screen.
In my app I allow the user to build a color, and then show
I have a html page with some code like <div style=background-color: rgb(191, 122, 111);>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.