Setting custom rgb color

I'm trying to set the background color of my app to dark green. How do i go on doing so?
It's not accepting " setBackground(Color(0, 128, 0)); "

setBackground(new Color(0, 128, 0));

Similar Messages

  • For P.O.D. Printing: How to Set Adobe RGB Color Space

    Hello and thanks in advance,
    (I'm using InDesign CS 5.5 on a Mac.)
    I need to set the proper PDF export settings
    For printing a book on demand, with color drawings inside on the text pages.
    The onnly instructions that I have been able to find, say this:
    "Submit your graphics in the Adobe RGB color space, withprofile embedded."
    The Big Question: How do I do that ?
    I know enough to start with
    File --> Adobe PDF Presets --> Press Quality
    Then I click on the "Output Menu"
    and here's where I start to get lost.
    for
    Color Conversion ...
    I think I should select "Convert to Destination"
    for
    Destination
    I think it should be "Adobe RGB (1998)"
    Now in order to embed this profile,
    What should I select under:
    Profile Inclusion Policy   ?
    And is there anything else I should be doing to get these inside color images printing nicely ?
    Thanks again,
    IthacaAuthor (aka ZorbaTheGeek, but the forum would not let me log in with my old screen name)

    Virtually all digital printing is done via either PostScript or PDF. In the former case, the PDF is converted to PostScript viat use of Acrobat and in the latter case, the PDF is sent directly to the digital printer.
    In either case, CMYK is in fact the actual destination color space. There are no real RGB printers!!! What is true is that non-PostScript / non-PDF printers (typically low end laser and inkjet printers as well as specialized inkjet and dye sublimation photo printers) do take in RGB via drivers and convert that to CMYK, but I don't believe that is what you are dealing with.
    Our recommendation at Adobe for best printing results, whether for offset or digital printing, is to export PDF as PDF/X-4 with no color conversion using the default CMYK color space (SWOP CMYK) or if instructed otherwise by your print service provider, one of the other CMYK color spaces provided by Adobe or by the print service provider themselves. FWIW, most on-demand digital print devices do have settings to fully emulate SWOP CMYK printing conditions. Using PDF/X-4 in this manner allows the existing color content in your InDesign document to be properly tagged in the output PDF file and converted to CMYK at the digital printing device's RIP.
    (It might also assist us if you can provide a pointer to the explicit instructions provided by your print service provider.)
              - Dov

  • Setting custom color for selected node in JTree?

    Hi,
    i want to set my own color for selected node in JTree. i don't want to set for all the nodes...how to set Color for Selected node using TreeCellRender class?
    Thanks
    Mani

    I assume you are not setting a custom tree cell renderer...
    javax.swing.JTree theTree = ...;
    java.awt.Color newBGColor = ...;
    ((javax.swing.tree.DefaultTreeCellRenderer)theTree.getCellRenderer())
        .setBackgroundSelectionColor(newColor);

  • Problems with RGB colors in Illustrator

    Hello,
    i have a problem with saving my artwork which is done in illustrator in PDF file. This artwork needs to be saved in PDF in RGB colors. It seams  that I cannot do this. Originaly artwork was done in CMYK. Option Edit/Edit Colors/conver to RBG is not working that is this option is not possible.
    Any suggestions please. Printing company cannot process it if PDF is not in RGB colors.
    Thank you in advance.

    But there is no difference in either case as the file will not be overwritten.
    True that the file will not be overwritten if you're careful not to do a regular save, but there is a difference.
    When you switch from CMYK to RGB document mode in Illustrator, AI simply converts to whatever you've set as your RGB working space. Yes, of course, you can go into Color Settings and change your workspace profile if need be, but now you're monkeying with settings that you might not want to be changing frequently.
    Why not, instead, take advantage of a feature that's there specifically to deal with workflow issues like this?
    If the printer requires a specific RGB space that's different from your normal working space, it's much easier to select it from the destination color dropdown during PDF creation. If you'll be creating more files for this particular printer, simply record a custom PDF (job options) preset.
    Even if one chooses to do it the Wade Zimmerman way, one should make sure to look at the color panel during PDF creation to make sure no unwanted space conversions are taking place.

  • .AI CS6 Font is set to black but shows up Grey. Greyscale is set to RGB.

    Hi, I'm using .AI CS6. I am trying to type something and the font color is set to black. But only shows up grey. But all other colors work fine. Document color is set to RGB, not CMYK, or Greyscale. I'm totally at a loss... My customer is needing this tomorrow. So a really fast correct reponse would be FANTASTIC. Been woring on this artboard for a little over an hour and can't do what I need done. I open new Artboards and the same problem persists.. I soo have no idea what the problem is....
    Please someone HELP ME...
    Thanks,
    HolyGraphixWarrior

    Select type with hollow arrow tool as an object
    Set fill color to none
    If did not change to inivisible, select all charchters with type tool I beam, and set to none
    In appearance palette add new fill, set to RGB 255, 255, 255
    Make sure your transprancey is set to 100%, and color is set to 100%

  • RGB color in inDesign changes (washed out) after exporting it to PDF

    Hi,
    I am new to InDesign and i have a hard time figuring out how could I export my InDesign file to PDF without affecting the color.
    This is what I do.
    1. I created a new document with Transparency Blend Space set to Document RGB
    2. I created a box using the rectangle tool and filled it up with RGB color, R=126 G=12 B=110
    3. The color in Indesign is just how i wanted it, however, the problem arises when i export the file now to PDF
    4. Instead of the color i wanted, the color was changed to a lighter color, or washed out.
    5. THis happens even in text have the same RGB setting.
    How could I export it to PDF with the same color, without being washed out?
    I really appreciate your help on this. Thanks.

    That sounds like the Color Picker, which works a bit differently in ID than in Illustrator or Photoshop. If the cursor is not in one of the RGB fields when you say OK you won't get RGB color. You can see this by noting the text in the Add ... Swatch button. My guess is you added the color as the CMYK conversion which is a bit lighter.
    You might want to use the panel menu in the Swatches panel instead, or the new swatch button at the bottom of the panel while holding down the Alt key to open the new swatch definition dialog. You want to create a Process color and change the type to RGB, then enter the values in the RGB fields. Or if what you want is really Pantone 249U you can define a Spot swatch and choose Pantone Solid Uncoated and then specify the 249. I'll warn you though, that CS6 uses Lab values for displaying spot colors and 249U is considerably lighter than either the RGB you specified or the 249C. In earlier versions the book value conversions were used. Even when using Lab display values through Ink Manager in CS5, the coated and uncoated swatches incorrectly look the same in ID, and in Illustrator CS5 you would need to turn on overprint preview to see a difference.
    Here are a couple of screen captures from PDFs exported from ID CS5 and CS6 using High Quality Print. The colored boxes with the lables were pasted from Illustrator CS5 to be sure I was using the same color definitions and that theywere behaving as native objects. Below are the same boxes placed:
    and here is how the screen looked in CS6 in ID (notice the difference in the placed .ai file -- the screen preview is NOT using the Lab values, although it exports with them):
    I don't know what the content is and how you present it, but it doesn't sound like a web page. That said, if you choose Web for intent in Document Setup you can still use print size paper sizes for the document and change the rulers after the doc is created to read inches or millimeters or other units of your choice instead of pixels and the file will use default RGB swatches and default to RGB when making new colors.

  • RGB colors become dull in Acrobat PDFs

    I'm using CS6 and when I create a PDF, the RGB colors appear much duller than the original source file. The shift is about (if not exactly) what you would see if you converted an RGB document with bright colors to CMYK.
    I'm on a Mac using the latest update to OS X. My typical process for creating a PDF is by starting with Photoshop JPEGs and using the "Combine Files in a Single PDF" function, or by exporting an InDesign document (with RGB art) directly to a PDF.
    If I open the exported PDF in either Adobe Acrobat Pro (10.1.4) or the latest version of Adobe Reader, the bright, saturated RGB colors in the original document appears noticeably dull in the PDF.
    I've experimented with several different Color Settings to no avail, including different RGB settings (sRGB, Adobe RGB (1998), etc.). Currently my settings are using Bridge to Synchronize my Color Settings across my CS6 apps (Photoshop, Illustrator, InDesign, Acrobat) and have confirmed they are all reporting a Synchronized state.
    My overall Color Setting is "Monitor Color" (though I've also tried others, including the default North American General Purpose). My RGB Workspace for all apps is set to the Profile of my Dell monitor, which was created with Apple's built-in calibration tool (not the best, I know, but wouldn't account for a difference as dramatic as this.) And my Color Management Policies under these Syncronized settings are all automatically set to "Off".
    As a test, if I export my RGB InDesign document to a JPEG and open that file back in Photoshop, the colors are fine—unchanged from the original look as they originally appeared in Photoshop. It's only when I go to Acrobat that the colors shift to a duller version.
    I keep looking in Acrobat preferences for a "Display PDF with Embedded Profile" or something along those lines, but Acrobat Color Management settings are the same as all my other CS6 apps.
    Any thoughts?
    Thanks,
    R

    Yes, I too suspect OS X 10.8 being the problem.
    Apple's Preview shows the colors fine. I also opened the PDF in Photoshop - fine.
    I even converted the colors in Acrobat X to a different color space (ProPhoto RGB). Still looks bad in Acrobat, still looks fine everywhere else. Also single images in the ProPhoto RGB PDF sent from Acrobat to Photoshop look fine and show the correct profile.
    Just like you I happen to see this the first time on Mountain Lion. It also seems to be connected to the monitor's profile somehow. Here's why I think so:
    Photo Mechanic by Camerabits (www.camerabits.com, a professional image viewing and rating program recently had issues with colors. They looked way over saturated or very dull, depending on whether the programs CMM was off or on. But the effect looked different on three different machines I checked.
    A Mac Pro with NEC PA271 and NEC Multi Profiler
    A Mac Pro with NEC 2690WUXi and NEC Spectraview II
    A MacBook Pro 17", calibrated with Datacolor Spyder 3 Pro
    All Machines on OS X 10.8.x
    On one machine the reds got over exaggerated, on the other it had a orange-green tint. And so on.
    The developer of Photo Mechanic gave me a special error logging version and with the log I sent him he eventually was able to fix it. Seems to say a lot if you ask me ...

  • RGB Color management between Illustrator and Photoshop

    Hi,
    I have a color management issue when exporting JPGs from Illustrator and opening them in Photoshop:
    In Illustrator (file is in RGB mode), I have a logo which has the color RGB 0/0/153 and I export a JPG. When I open the file in Photoshop, the color is RGB 1/0154.
    I have activated Adobe CC Color Manegement via Adobe Bridge (option "Europe, Universal 3"), which should produce consistent results in all Adobe applications.
    So which is the color that is actually in the file? And what do I have to do to get the color I want (0/0/153) actually exported from Illustrator? I need this color to comply with corporate design specifications of my client.
    Since I have to produce a lot of files it is not possible to readjust all colors in Photoshop ...
    Thank you!
    Michael

    First, check to make sure that the RGB working colorspace is the same for both Illustrator and Photoshop.
    When exporting the jpeg from Illustrator make sure the 'embed' color profile is selected, and it is the color profile that is required for your client. If this is for web use, then sRGB is your best choice.
    When you open the exported image in Photoshop, make sure that the color settings for Photoshop are set to 'Preserve Embedded Profiles'. After you open the image in Photoshop, you can double check by going to Edit > Convert to Profile... The source profile should match the embedded exported profile from Illustrator. If these match, your RGB color values from Illustrator and Photoshop should also match.
    If the source profile does not match, cancel out of the 'Convert to Profile" and go to 'Assign Profile". Assign the profile that you embedded when exporting from Illustrator. Now Photoshop should have the same values as Illustrator.

  • How can I preserve RGB color within Adobe PDF?

    I'm using Acrobat Pro 9.3.1, OS 10.6, and I'm creating PDF output from Keynote, strictly for on-screen viewing.  I would like to use Acrobat Pro to create a compact PDF file with screen-resolution graphics, however I keep running into problems with color changes applied by Acrobat.
    The document contains bright RGB colors.  It also contains images, some of which are high DPI resolution. 
    * If I use the OS X "Save As PDF..." feature, the generated file is about 32 MB.  Opening the resulting file with Preview, the file looks fine.  Opening the resulting file with Acrobat, though, shows the bright colors in the file as very drab-- almost as though it's been compressed into CMYK space.    Once it's in Acrobat, I can use the PDF Optimizer and save it as a mostly-adequate 10 MB file, but the color issue is annoying.
    * If I use the "Save as Adobe PDF" feature, and save the file with "standard" settings, the resulting PDF file is 27 MB.  If opened in Acrobat, it shows the same CYMK-like color compression, and if opened in Preview, it shows the bright colors.
    * If I use the "Save as Adobe PDF" feature, and save the file with "PDF/A-1b:2005 (RGB)" settings, the resulting PDF file is 50 MB. In both Acrobat and Preview, it shows up with full and correct colors. So obviously Acrobat is capable of handling RGB after all.  But this format is not really compatible-- it throws a warning about viewing in that format, and has all kinds of graphical glitches.  And, the file is even larger than I started with.
    So, what I would like to know is this: How can I set up acrobat to let me produce those nice 10 MB files, without showing the funny color compression?

    p taz wrote:
    Ummm... not quite sure where you get that from, colour managed means converted as per settings in the device or application.  Acrobat preset for PDFX/1a specs a conversion to cmyk.  Other presets include RGB or unconverted and these are chosen by the app or user.
    This is where your problem is, something inside Keynote is applying a conversion.  I was just eliminating the obvious, not just for you but for other, less knowledgeable readers.
    Preview will use the monitor or sRGB profile and the only way to make sRGB or equivalents look flat is to feed it an untagged file that belonged to a very different gamut.
    3. Yes, conversion is happening.  That's what I'm trying to prevent.
    By definition, not converting means UNmanaged..  what you were calling unmanaged before is actually MISmanaged.
    As mentioned, Acrobat, to my knowledge does not convert without being told to.  That instruction comes from the built-in actions of the application in question or a user choice and you may not be able to address the former.  If the former was the case then you might be able to work around by preparing your original file in a small gamut like sRGB and then it doesn't matter what Acrobat does unless you chose an unsuitable conversion at the user level.
    > Acrobat preset for PDFX/1a specs a conversion to cmyk.
    Okay.  That confirms what's going on.  Is there a way to turn this setting off, open the file, and then save it?
    >This is where your problem is, something inside Keynote is applying a conversion.
    No, actually keynote is irrelevant.  You can blame it and its color mismanagement all day, but the fact is that the change happens when it's opened in Acrobat with the default settings.  We know this because PS or PDF generated by keynote shows up okay in Preview or in that RGB PDF generated by distiller.  It's absolutely unambiguous.  I know that Acrobat is capable of converting the file without converting the color because it can make that RGB PDF.  I know that my monitor isn't totally whacked because if I view that same "RGB PDF" on a different machine and/or OS, it look fine there too.   But what I want to know is how to create that "RGB PDF" without the crazy bloat and iffy file format.  There must be some settings that can be applied in Distiller to get this done. 
    From the suggestions that have been made here, it sounds like not many people have actually used recent versions of Acrobat Pro or Distiller on the Mac. (Options like "Email Files" and "PDFX4 2008" aren't there, converting PS files appears to broken, print to PDF is broken....)  That's okay, I don't expect you to know everything about this.  But, telling me just to not use the color blue or that my other programs are to blame isn't exactly helpful either.  Am I asking the questions in the right place? Is there some Adobe tech support venue that's more appropriate?

  • Eyedropper tool wrong rgb color

    I've placed an rgb image and on top of that a vector square which I wanna give the same color as the bright green one in the rgb image. So I used the eyedropper tool on that bright green color. But as you can see it give a more dull greenish color. The document is in rgb mode. I would expect this more when I was working in cmyk but I ain't. Why isn't the eyedropper tool picking the bright green color? The image is in rgb, illustrator is in rgb, in photoshop I can see the bright green color in the rgb image. So why isn't illustrator using this bright green color with it's eyedropper tool?
    Edit: Turns out the eyedropper tool only works correctly (while illustrator is in rgb color mode and the image placed is also in rgb), when the image placed is embedded and not just linked. After I dragged the image on the page and go to Links to have the image embedded and then use the eyedropper tool, I get the exact same color. Seems a bit odd that it won't work the same way when the image is linked?

    The eyedropper only works accuratelyon vector objects. Shift eyedropper is misleading as the color chanegs but never has been accurate on bitmaps in Illustrator. Shift eyedropper does not pick up the pixel value, but what is being sent to the monitor going through conversions for color mgmt, color modes, etc.  Open the image in photoshop and use the eyedropper set to 1 pixel.

  • Anyone else notice the bug in the "Blend RGB Colors Using Gamma" feature in Photoshop?

    I think there's a bug in the "Blend RGB Colors Using Gamma" feature in Edit>Color Settings>Advanced Controls. For some reason it doesn't apply to layer styles.

    Ok, here are two images. They both have a text layer with an outer glow (100% opacity pure green, normal blending mode) and a feathered green brush stroke (normal blending mode) over a red background. The first image is in RGB 8 bit (ie non-linear) image color mode. The second image is in RGB 32 bit (ie linear) image color mode. You can see how the 32 bit mode image (second image) has proper blending of the green glow onto the red background in both the text layer style as well as the brush stroke, while the 8-bit image properly blends the brush stroke but fails to blend the layer style using linear gamma (aka 1.0). In both screenshots you can see that PS is set to "Blend RGB Using 1.0 Gamma".
    I'm assuming this is a bug?

  • PS CC - I have a B/W background which I flattened - Then, change to RGB and add an RGB color graphic - print out makes background a greenish color - Can't figure out how to adjust.

    PS CC - I have a B/W background which I flattened - Then, change to RGB and add an RGB color graphic - print out makes background a greenish color - Can't figure out how to adjust.
    Thanks,
    Dave

    If the grayscale looks ok on screen, you are probably not setting up your print correctly. What OS? What printer?

  • Premiere Pro stops rendering and gives error message when encounters "RGB Color Corrector"

    Premiere Pro (and also Encore) stops rendering and gives error message when it encounters a clip containing the "RGB Color Corrector" in any clip.  It will process clips without RGBCC, but will stop when it gets to one with RGBCC activavted.  PP will render clips if other effects, such as "Fast Color Corrector", "Color Balance (HLS)", and "Three-Way Color Corrector" are selected. However, these do not have the capabilities that The other color correctors will not do what RGB color corrector does, so I need to have this working to finish a large product that is due to the client.  Please help me..... I am not using the Creative Cloud version, and can't find either a download for the new update from 2013, or a phone number to talk to anyone. 

    Using a Win7 computer with 2.8 quad core processor, 24 gig of ram, Nvidia Quadro 5000 video card.  Don't think I have any plugins.  I looked at one a while back for cleaning up grainy video, but I am not sure I paid for that.  Think I deleted it. 
    Incidentally, someone named Jim on another part of the forum mentioned that this problem has been fixed in the CC version of the program.  I am using the non-CC version because I am 68 years old and only do seminars and documentation video.  Don't need so many bells and whistles, and definitely don't need learning curves every few weeks.  CS6.0.3 works fine for me.  By the way, someone else said that maybe version 6.0.1 might work better and I should revert to that.  Not sure if it is the version i have on the disk upgrade to 5.5 that I purchased in December. 
    As it stands now, I have 7.5 hours of a seminar that is ready to go out the door.  If there is an upgrade I can get from Adobe, maybe you can tell me about it. If I have a setting incorrect in the video output format, maybe I can change that.  So far it just happens with clips in my video that have RGB color correction. 
    Rick

  • How to create 'custom defined color' in the palette (Oracle 6i Form Buidl)?

    I'm new to Oracle 6i and urgently need to edit a colour scheme used on an existing set of Forms in Forms Builder.
    I can see how to select colors from the default palette but cannot find a way to edit the 8 spaces kept in the palette for 'custom defined colors'.
    Thanks in advance.

    Have you tried with something as
    IF  DBMS_ERROR_CODE IN (-20001)  then
    message ('what_you_want');for example in ON_ERROR trigger?

  • RGB colors when ordering prints?

    I've been working on a high sports team poster, designed in Photoshop Elements. I hope to get it printed through the iPhoto on-line service.
    The background color was set in PSE by using the RGB values of the school colors. Will this information be used when it is printed? The red looks a bit pale on my inkjet printer sample and I was hoping that higher quality printers could take advantage of the info for more accurate color.

    As long as the image file has the standard RGB color profile, the colors should be reproduced faithfully. I have PSE set to embed the sRGB IEC61966-2.1 color profile whenever saving a jpg file.
    I've not ordered prints from Apple so can't attest to the accuracy of the color. However, if they are way off Apple has been good at making things right.
    OT

Maybe you are looking for

  • Questions on async and sync's unit tests

    Hi All I write a API project and that have sync and async method.   Then I also write a unit tests for them. What I want to ask is how to write them is better ? public abstract class ApiProxyBase         protected async Task<T> GetDataAsync<T>(IRestR

  • The CD in drive is not showing up on desktop or in finder

    I put a blank CD into the disc slot, it whirled a bit, then nothing. It doesn't show up anywhere I look and I can't eject it. What can I do?

  • Zooming inconsistency with links in pdf

    I have an interactive pdf set up containing different chapters & vast amounts of links. I have set the pdf up to 100% zoom. When I open it all is fine, but as soon as I begin to click through the document the page zooming becomes erratic. I have trie

  • Value in  Movement Type 311

    Dear All, We are transfering material from One Storage location to another using T-code MB26/MB1B. When We see material movement through MB51 it shows no value. We know, system is showing zero value, as there is no financial transaction in movement t

  • Recovery partition compromised after rootkit

    I've just gone through the cleanup process after the olmarik.TDL4 boot record rootkit on my HP G72 B60US notebook.  I downloaded several programs and went through the cleanup process step by step with someone in the Malwarebytes forum.  I noticed thi