Colour Format Help

I am a designer and not a Java programmer - don't hate me - and i am using a small calendar applet on a web page. This has color configured from javascript parameters as follows:
<param name=bgcolor      value=13684944>
<param name=bgcolor2      value=14737663>
<param name=bgcolor3      value=400>
<param name=t_col1      value=400>
<param name=t_col2      value=8421520>
<param name=t_col3      value=14737663>
Can anyone tell me how these numbers relate to either HEX or RGB. I have tried simply placing RGB figures in there but they do not bear ant relationship to the standard color tables....HELP????!!!!

Yes, thats true,
It must be using format like:
int r = (0x00ff0000)>>16;
int g = (0x0000ff00)>>8;
int b = 0x000000ff;
where r=255, g=255, b=255 this case, but if
long r = 0x00ff0000;
long g = 0x0000ff00;
long b = 0x000000ff;
which give you r=16711680, g=65280, b=255....make sense?

Similar Messages

  • Conditional colour formatting in apex_item select list

    Hello all,
    I am having a select list in my tabular report created using apex_item.
    What user want is the colour formatting of this select list according to the condition.
    Say eg: A select list for departments, I want the departments with employees in different colour as compared to departments with no employees.
    Please help.
    Thanks
    Tauceef

    I've got a function in my package for this issue. Maybe it will gives you an idea how to solve this topic. The function is very similar to apex_item.select_list function, but there is a significant different. Displays values and returns values that are separated by two semicolons!
      FUNCTION get_select_list(p_idx NUMBER,
        p_value VARCHAR2 DEFAULT '',
        p_list_value VARCHAR2,
        p_attributes VARCHAR2 DEFAULT '',
        p_show_null VARCHAR2 DEFAULT '',
        p_null_value VARCHAR2 DEFAULT '',
        p_null_text VARCHAR2 DEFAULT '',
        p_item_id VARCHAR2 DEFAULT '') RETURN VARCHAR2 AS
        v_null VARCHAR2(4000);
        v_output VARCHAR2(4000);
        v_value VARCHAR2(4000);
        l_vc_fields htmldb_application_global.vc_arr2;
        l_vc_return_fields htmldb_application_global.vc_arr2;
      BEGIN
        l_vc_fields := HTMLDB_UTIL.string_to_table (p_list_value, ',');
        v_output := '<select name="f' || TRIM(TO_CHAR(p_idx, '09')) || '" ' || p_attributes;
        IF LENGTH(p_item_id) IS NOT NULL THEN
          v_output := v_output || ' id="' || p_item_id || '"';
        END IF;
        v_output := v_output || '>';
        v_null := '<option';
        IF LENGTH(p_null_value) IS NULL THEN
          v_null := v_null || ' value="%null%"';
        ELSE
          v_null := v_null || ' value="' || p_null_value || '"';
        END IF;
        v_null := v_null || '>';
        IF LENGTH(p_null_text) IS NULL THEN
          v_null := v_null || '%';
        ELSE
          v_null := v_null || p_null_text;
        END IF;
        v_null := v_null || '</option>';
        IF UPPER(p_show_null) != 'NO' THEN
          v_output := v_output || v_null;
        END IF;
        FOR i IN 1 .. l_vc_fields.COUNT LOOP
          l_vc_return_fields := HTMLDB_UTIL.string_to_table (l_vc_fields(i), ';;');
          v_output := v_output || '<option';
          IF l_vc_return_fields.COUNT = 2 THEN
            v_value := l_vc_return_fields(2);
          ELSE
            v_value := l_vc_return_fields(1);
          END IF;
          v_output := v_output || ' value="' || v_value || '"';
          IF v_value = p_value THEN
            v_output := v_output || ' selected="selected"';
          END IF;
          IF l_vc_return_fields.COUNT = 3 THEN
            v_output := v_output || ' ' || l_vc_return_fields(3);
          END IF;
          v_output := v_output || '>' || l_vc_return_fields(1) || '</option>';
        END LOOP;
        RETURN v_output || '</select>';
      END get_select_list;You can define three values for p_list_value instead of 2. The third value will be used as option attribute:
    SELECT
    my_package.get_select_list(
    1,
    '20',
    'ACCOUNTING;;10,RESEARCH;;20,SALES;;30;;style="background-color: red;",OPERATIONS;;40'
    ) liste FROM dual;function returns
    <select name="f01" >
    <option value="10">ACCOUNTING</option>
    <option value="20" selected="selected">RESEARCH</option>
    <option value="SALES" style="background-color: red;">SALES</option>
    <option value="40">OPERATIONS</option>
    </select>The next step is just to create a function, which provide the string for p_list_value.

  • After upgrading to Yosemite I cannot share my pages document by mail as a word format - HELP please!!!

    After upgrading to Yosemite I cannot share my pages document by mail as a word format - HELP please!!!

    You don't need to go to the App Store to for support for Steam and Minecraft. You need to go to their website(s).
    You're welcome 

  • Interactive Reports Download In Colour format in html and csv

    Hi All I want to download interactive report in colour format(as it is format) in html and csv using apex 4.0.2
    Regards
    Robert

    http://en.wikipedia.org/wiki/Comma-separated_values
    A comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form. As a result, such a file is easily human-readable (e.g., in a text editor).re: colours of html output
    interestingly, there are settings in print attributes, but they have no bearing on the output... obviously nothing to do with the html output. Probably best bet is BI Publisher, where you can define your own report templates.

  • RGB or CMYK colour formatting for iPhoto Albums printing.

    Hi.
    I'm putting my first iPhoto Album together. Info given from Apple about what colour format to use for your photos, says to use RGB. While this is corrcet for digital monitors and screens. Mass printing uses CMYK. Any images supplied to a printers in RGB will colour shift when printed in CMYK. No matter what a printer tells you, these colour shifts can be very noticable. I'm an Advertsing Art Director and I've seen the shift that happens.
    I will be checking/colour correting all photos submitted to the iPhoto Album with Adobe Photoshop. And many will very probably undergo some corrections. Be it through levels, curves, hue/saturation, etc. Nothing to anything near an excessive level, but enough to make obvious improvements.
    So I will then be faced with the choice of whether to save the images out in RGB or CMYK.
    Can someone with some technique knowledge, from the iPhoto team, tell me/reasure me why RGB has been specified? And if CMYK wouldn't actually be a preferable colour format to supply in, considering you'll be printing them in CMYK.
    Many Thanks, Jim.

    You're absolutely correct. I was referring to notes make a number of years ago in regards to iPhoto 5  and that RGB was recommended for both books and prints. 
    I was confusing CMYK with Grayscale with Dot Gain 20% profile when stating iPhoto didn't support it which it didn't fully support until iPhoto 9.
    In fact I just ran a test with iPhoto 6, 7 and 8 with a CMYK AND GrayScale files with the following results:
    iPhoto 6 (06): wouldn't import CMYK but did GrayScale.  The grayscale file would only display as a black thumbnail and negative full image.  If the DotGain 20% profile was stipped from it the iamge would dispaly normally.
    iPhoto 7 (08): wouldn't import CMYK but did GrayScale.  The grayscale file would only display as a black thumbnail and negative full image.  If the DotGain 20% profile was stipped from it the iamge would dispaly normally.
    iPhoto 8 (09): neither file would import which is surprising:
    iPhoto 9.2.3 (11):  both imported and viewed normally.
    iPhoto 9.4 (11):  both imported and viewed normally.
    In Oct, 2007 I got an email from Apple support with the following:
    Also as iphoto makes a pdf of the book and then uploads it to keep the size down, it doesn't matter if the pics are RGB or CMYK as a pdf is a closed file. But since it is going through prinergy it has an RGB checker so this most be switched off. It is how the software in prinergy handle's it that causes the washed out affect as it takes the Red Green Blue colours and tries to convert to Cyan Magenta Yellow Black. Now the colour spectrum in printing between rgb and cmyk is quite different looking at a colour wheel will show you. The best way i can describe it is if you have a pantone book which has spot on one side and process on the other you can see a colour difference. Or if you use quark open up the colours and again switch between process and spot.
    BUT ONLY CONVERT PICS TO CMYK IF YOU ONLY INTEND TO ORDER BOOKS. IF YOU INTEND TO ORDER PRINTS IT WILL NEED TO BE RGB.
    Here's how i see it:
    1. Apple doesn't want 2 different versions of the pics floating about as running CMYK through a photomachine (as prints you would order in the high street) will not print correctly.
    2. RGb's going through a CMYK press using prinergy will attempt to convert and produce the washed out effect, or yellowing effect BUT will still print.
    So it will use the 2nd option as it will still produce prints normally and books with a slightly washed out effect. Now to most people in the high street, who will notice a difference?
    I have just received my latest book saved as CMYK pics in tiff format and no washed out effect. What i will say is The quality if still not as good as a print. Now we use a docucolour 5252 at work and the colour quality is better. I wonder how often the machine is calibrated and what colour curve it is set to?
    However, I am unable to import a CMYK file in any iPhoto version until iPhoto 9. Go figure.
    Thanks for the feedback.  Hadn't addressed this particular subject in quite a long time.

  • How to download movies? I download as well as music, and writes that can't format. help please

    how to download movies? I download as well as music, and writes that can't format. help please

    Check the iTMS, if the movie isn't listed there, it's not for sale.

  • Colour confusion in cross-reference format -- help!?

    (FrameMaker version 8.0p277)
    We recently applied revised templates to our documents and I am not having problems with my cross-reference formats.
    When setting an xref to a heading/table/figure on another page, I want it to say (for example) "Figure 2-3 on page 17", where "Figure 2-1" is blue, and "on page 17" is the default text colour (for these docs, that would be black).
    When I insert an xref and choose a display format as described above, the text appears properly (blue, then black).
    However, when I update the book, many of the xrefs (but not all) change to all blue text. (For example, Figure 2-1, 2-2, 2-5 are okay, but 2-3 and 2-4 appear all in blue.)
    Here is the xref format definition for figures:
    <bluetext>Figure\ <$paranumonly><Default ¶ Font> on page\ <$pagenum>
    where <bluetext> is a character format (all 'as-is', except Color is set to Blue).
    So far, I am the only one who has had this problem (three other writers using Frame 8 as well), but I'm the only one working on this particular set of documents.
    Anybody have any hints as to how to resolve this? I have found limited success with copying/pasting the encompassing content (for example, if xrefing to a heading in a cell of a given table row, copy and paste the entire row, then delete the original row fixes the problem. *Sometimes*. Same for table xref (replace entire table), figure xref (replace figure and caption and some surrounding body text), heading (replace heading plus some surrounding body text).
    I'm at a loss.
    Thanks

    And... I think I have it (sorry to have dragged you all along for the ride :-)
    With the Character Designer displayed, moved cursor through text. Found that the Character Tag field changed to <Blue> after the last character of the offending x-refs. <Blue> was an old tag used in the previous template. It does *not* appear in the character font catalog (and does not appear in the drop-down character tag list either).
    Solution (it seems):Select the text section and apply the DefaultFont format (everything goes black). Then update the book. Most of the xrefs display correctly. Some, however, remain all black. Double-click the xref and then click Replace, and it now has the proper format.
    Will go through doc and do updates -- if more problems arise, will let you know!
    (As an aside... if somebody can explain what is actually happening in a clear way, that would be great :-)
    Thanks again.

  • Firmware Update Error/Unable to Format/ HELP PLEASE!

    I have happily been using three 3G ipods with Windows XP via firewire for 9 months or so until recently....
    1. Installed 250GB external USB HD to house music and lost previous library files in the process.
    2. On connecting my 40GB ipod, got request to update and then "Firmware update failure-Disk write error" and the dreaded Exclamation mark folder.
    3. Returned ipod to Apple Service and bought new 60GB Colour ipod the day before going abroard for a month. This works OK although seems slow to be recognised by itunes and update.
    4. Got home today and plugged in my Son's 20GB 3G and got the same problems as above. Tried formatting as suggested in these pages but get "Unable to complete format" message.
    5. Apple due to deliver my repaired/replaced 40GB tomorrow - am I likely to get the same problems, and again if I plug in my Daughter's 20GB. It seems unlikely to get 2 faulty ipods within a month with the same symptoms.
    Any ideas anyone? I've reset, attempted updates and formats umpteen times and have itunes 4.9 and the latest updater. New 60GB seems OK. Many thanks, Nick.

    After running a permissions repair, I ran a disk verification and found that my disk does indeed need repairing. However, I am not currently near my Install disc to perform a disk repair... I will post the results of my disk verification here and ask if it is possible to repair using the 'fsck' alternative. If not, I will attempt to track down my install disc and attempt to repair from there. Thank you both for your help!
    Here were my results:
    Verifying volume “Macintosh HD”
    Checking HFS Plus volume.
    Checking Extents Overflow file.
    Checking Catalog file.
    Incorrect number of thread records
    Checking multi-linked files.
    ng Catalog hierarchy.",0)
    Checking Extended Attributes file.
    Overlapped extent allocation (file 4011343 /Users/a/Music/iTunes/Temp File)
    4011343 /Users/a/Music/iTunes/Temp File
    ocation (file %@)",1)
    4014479 /Users/a/Library/Safari/Icons/13/07/2899356373-1884756597.cache
    Checking volume bitmap.
    Volume Bit Map needs minor repair
    Checking volume information.
    Invalid volume free block count
    (It should be 15299667 instead of 15250472)
    The volume Macintosh HD needs to be repaired.
    Error: The underlying task reported failure on exit
    1 HFS volume checked
    Volume needs repair

  • Logo file format help??

    Hi
    I have created a logo in Illustrator, the logo contains 2 pieces of text in 2 different colours, and a symbol made up of 3 of the same shapes all different colours, they all overlap each other, 2 of the shapes have a soft light blending mode, and the 3rd overlay blending mode, (all shapes are 100% opacity) With a transparent background.
    My question is.. what is the best file format to save the logo as, so that I can then place the logo in an Indesign file (for a packaging design) as to keep the transparent background, colours, etc...
    I have also grouped and then flattened the 3 shapes in the logo in Illustrator in order to keep the blending modes just within the logo and not effect the Indesign layout.
    is this the correct way to go about this?
    Thanks for your help
    Ruth

    I concur with Scott: .ai file with PDF compatibility.

  • Ipad locked, PC formatted, help on saving data from ipad...

    I need help....i typed my passcode wrongly 4-5 times and my ipad got locked, my pc crashed so had to format hard disk. Now i dont have itunes back up and fear of loosing all my data and purchased music...please help

    You can reload your purchased music/apps/video from the cloud. However, you will need to restore your iPad and since you don't have a backup all data and unpurchased content will be lost.

  • Date Format Help: DD-MON-YY

    Hello everyone.
    Good Day.
    I would like to seek your help regarding my inquiry on the PL/SQL script output that I am trying to create.
    Please see below output of my script:
    L7,CU4450278,70X1W01AGA-ASY,11813,20-6æ -13,0
    L7,CU4464442,747X32VH9015-ASY,3394,20-6æ -13,0
    L7,CU4464766,747X22VH9015-ASY,3383,21-6æ -13,0
    As you can see in the CSV output, the date has some invalid value, the "6æ " should have been Jun (i.e. Short Month format of June).
    My script has this code for date dbms_output to_char(startplan_rec.str_startdate,'DD-MON-YY')
    The startplan_rec.str_startdate data type is date.
    I have tried querying the same table in the oracle sql developer, but i am getting the correct output (e.g. 20-Jun-13).
    Please help me on having my desired date format output on my pl/sql. Why is my date output on my script incorrect?
    Thanks in advance.
    Regards,
    Jeff.

    JEFTPHPH wrote:
    Hi Hoek:
    I am using sql plus for the project.
    I was just following a certain format from a requirements that is why I am still using the YY thing.
    BTW, I've heard about the Y2K thing when i was on college.
    THanks,
    Jeff.
    Boy does that make me feel old.  A few years ago I was at a workshop when a young developer expressed to me his opinion that Y2K was a hoax.  His "proof" was the fact that "nothing happened after all."  I had to explain to him that reason it seemed "nothing happened" is because armies of guys like me had spent two years busting our butts fixing the problem before the excrement collided with the ventilation system.
    But I have code that is older than his birth certificate.

  • ICC Colour profiles help!?

    Hi all,
    I just started a new job and on Friday I sent my first work off to the printers.
    It came up with error messages saying about colour error with ICC profiles being incorrect.
    (I use a pre set export setting)
    When I contacted the printers he said it wasn't a problem this time, but to take those profiles out my end next week/sort them out.
    I have done a little reserach and looked on this forum  to see if I can answer my question but i am left confused and I was hoping someone on here could help.
    So my questions are:
    What exactly is a ICC profile
    How do i change or get rid of this so i do not have a error printing next time
    Thank you in advance if you are able to help (i'm using CS6 atm)
    Toria

    Thank you for the reply,
    This was the message i recieved!
    FILES FAILED DUE TO INCORRECT COLOURSPACE AUTOMATIC CONVERSION SHOULD OCCUR: 2014-01-10 16:37:20 E Input file: Color space ICCBased was used but press device colorants only are expected on page 1 for file: EWE_150114_032REV.pdf., 2014-01-10 16:37:20 E Input file: Color space Indexed ICCBased was used but press device colorants only are expected on page 1 for file: EWE_150114_032REV.pdf., 2014-01-10 16:37:20 E Digital Master: Colorspace ICCBased was used but press device colorants only are expected on page 1 for file: EWE_150114_032REV.p1.pdf., 2014-01-10 16:37:20 E Digital Master: Colorspace Indexed ICCBased was used but press device colorants only are expected on page 1 for file: EWE_150114_032REV.p1.pdf.
    Sorry I'm not much more help, i am quite lost with this alas!
    Thank you again
    Toria

  • Import file name -   want to go back to 2008-02-22 format  HELP!

    iphoto 06 imported photos into a date formatted file such as 2008-02-22. iphoto 08 makes this -February 22, 2008. I need help in just returning to the original date format as a default process.
    yes, I can do this manually but this requires additional work in Aperture (both 1.5 & 2). Thousands of photos annually make me want to make this automatic and easy. The current format is totally ridiculous, when part of an alphabetized list which renders multiple years from the same mont grouped together rather than in a time sequence a in i06

    Welcome to the Apple Discussions. What file are you referring to? Where are you seeing this date? When iPhoto 6 imports a photo the file name renames the same, whatever it was before. Am I missing something here?
    Are you referring to renaming of photos from within iPhoto with the Batch Rename feature? Then go into the System Preferences/International/Formats pane and click on Customize button. There you can reset the short, medium or long date to the YYYY-MM-DD format. Then select the sort, medium or long date in the iPhoto Batch Change window and you'll get what you want.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • PSE 7 Crashes when outputing to any format - Help!

    I have used the program (PSE 7) on the same machine for the past 2 years with limited issues - have always been able to restart the workstation and program and get my slide show outputed to the desired format.  I am expereincing the same issue again this year, but no matter how many time I restart the program crashes at random times when outputing.  May crash right away or at any different percentage of completion during the output process.
    Do I reinstall on the same machine?  If so, will I be able to recover all fo the work I have done?
    Do I upgrade to the newer version?  Will I have the same issue? 
         Shoudl I try to down load the trial version first?  Not sure if it over writes the current version and if I would lose anything?
    Please Help!  Needs some guidance as I have to get the annual High School Softball video completed by Monday for the banquet.

    Do I reinstall on the same machine?  If so, will I be able to recover all fo the work I have done?
    Uninstalling and reinstalling will not affect your existing catalog, nor saved slideshow projects. If you also use Premiere Elements note that PRE video projects no longer appear in the organizer, although they can still be opened directly in PRE.
    Do I upgrade to the newer version?  Will I have the same issue? 
    Without an identified cause of the existing problem that question cannot be answered.
    Shoudl I try to down load the trial version first?  Not sure if it over writes the current version and if I would lose anything?
    Yes, install the trial. Multiple version of PSE can coexist. When installing a later version of PSE I always make a copy of the catalog from my previous version and convert that rather than the original.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • My ipod is showing reset format f ,plugged into my computer ,the comp then says unable to reset format;help!

    ive tried to reset my ipod 120gb and its saying that format F needs to be reset ,but my laptop is saying its unable to do this.Anybody help!

    next thing i would think of is to ask bestbuy apple retailer or bestbuy pple to help u out from here bc im not sure what to do next if u cant get it into dfu mode.
    all i can think of is to hold home and power for 30 seconds in the meantime of showing the apple sign at least once or twice.
    either that, home and power flashes once and 1/2 sec later release power while holding home still and plug it in wihout trying to let go the home button. dont even let go until itunes says somthing remotly saying anything ...lol

Maybe you are looking for

  • Internet not working - wifi connected but internet and server fail, ethernet cable doesn't work either

    All of a sudden the internet on our Macbook Pro does not work.  We connect through an Airport Extreme and other mac works fine.  It shows that wifi is fully connected but when i go to diagnostics, i see the internet and server are failing.  I tried c

  • Edge server licensing fails

    Hi I'm trying to change Lync server 2013 Edge from evaluation to licenced. Using msiexec.exe /fvomus server.msi EVALTOFULL=1 /qb command Windows installer window appears but after message Gathering required information" it just closes. command is sta

  • Jsf not compiling in Tomcat 5.5.

    Hi All, I am using Tomcat 5.5 with IDE NetBeans. I have the following code in the jsf page. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> </head> <body> <f:view> Paging </f:view> </body> </h

  • Opening 32 bit TIFF in camera raw (or not...)

    I have been following tutorials on creating HDR images in photoshop using the 32 bit function. Once I have created the 32 bit image, and saved it as a Tiff file. I then go into bridge and made sure the preferences for camera raw are set to enable sup

  • Saving returned form data?

    Hi, I'm wondering if when I have my returned form data back I can then export it including the answers as a downloadable PDF? I know you can on a paid account which is fine but I would like to know if it will be in the format and design of the origin