I Create a C# Windows Forms application for capturing and displaying screen colors.
ScreenColor is a C# Windows Forms application that allows users to capture and display the color of any point on their screen. By holding down the mouse button, users can select a specific color, which is then displayed in a panel along with its HTML color code and RGB values. The application also provides functionality to lock the color selection and copy the color information to the clipboard.
- Clone the Repository
git clone https://github.com/dhruvdxb/WinForms-Application cd screencolor
- Open the Solution
- Open the ScreenColor.sln file in Visual Studio.
- Build the Application
- In Visual Studio, select Build from the menu and choose Build Solution (or press Ctrl+Shift+B). This will compile the application.
- Run the Application
- After building, you can start the application by pressing F5 or by selecting Start Debugging from the menu. Alternatively, you can run the compiled executable from the bin/Debug directory.
- Color Lock: Pressing Ctrl + L toggles color locking, allowing users to lock the current color and prevent it from changing while the mouse button is held down.
- Clipboard Functionality: Users can copy the color information (HEX and RGB values) to the clipboard by clicking the "Copy" button.
- UI Customization: The application provides a user-friendly interface with visual feedback including color display and RGB values.