Notepad++ (npp) is a friendly, free and open source Windows Notepad replacement and code editor that supports syntax highlighting in a multitude of languages. Custom languages can be defined and all kinds of plugins are available, such as file explorers, file comparing tools, clipboard managers, and a lot more.
Once upon a time, there was a highly useful ColorPicker plugin, allowing modification and creation of source code color values, e.g. HTML hex colors, directly inside the editor. However, with the conversion of Notepad++ to Unicode, the plugin stopped working and it never received an update.
[ Update March 24, 2013: The original ColorPicker has received and is now available for Unicode, as well. ]
The plugin supports color values in HTML (hex #RGB), Delphi (integer and hex $00BGR), Visual Basic (&BGR), C++ (0x00BGR), and byte RGB (R,G,B).
ColorPicker Plugin (Binaries/DLL, zip file, 230 kb)
ColorPicker Source Code (Delphi project, 7z file, 30 kb)
Related resources for developers
More Notepad++ Plugins at SourceForge
PicPick - an alternative, free Windows all-in-one tool, including Color Picker, Pixel Ruler, Screen Capture, Screen Protractor, and more.