Color Picker



ColorPicker is a simple hexadecimal color code generator. Click on the hue-saturation map to choose the color and fine-tune it using the brightness map or Type in the colour intensity (from 0 to 255) in the text field, then click on the "Display Color" button.

Author's Notes:
The RGB value is passed back to JavaScript which could then be used to change the colors on your web page or saved as user preferences.

How To Use:

  • Download colorpicker.zip (7 KB)
  • Unzip with a compression utility.

    Java Source: Unavailable

    Sample HTML Source:
    Between the <head></headt> tags place the following java script:

    	<script language="JavaScript">
    		var color="#808080";
    	</script>
    
    In the body of the file place the applet and javascript where you want it to appear on the page:
    <applet code="colorpicker.class" width="400" height="450" MAYSCRIPT>
    <param name="variable" value="color">
    </applet>
    
    <form>
    <input type="Button" value="Show value in JavaScript" onclick="alert(color);">
    </form>
    

    Status: Free

    Author: Toh Lik Khoong

    Homepage: http://navsurf.com/colorpicker.asp

    Upload Date: March 21, 2001

    Updated: August 8, 2001

    How to Add Java Applets to Your Site

    New on the Java Boutique:

    New Review:

    Time Management Made Easy with the Quartz Enterprise Job Scheduler
    Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

    New Applet:

    Reverse Complement
    Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

    Elsewhere on internet.com:

    WebDeveloper Java
    Lots of Java information on webdeveloper.com

    WDVL Java
    Thorough Java resource at the Web Developer's Virtual Library.

    ScriptSearch Java
    Hundreds of free Java code files to download.

    jGuru: Your View of the Java Universe
    Customizable portal with online training, FAQs, regular news updates, and tutorials.