Random Color Generator

This is a simple React application that generates random colors. When the user clicks the button, it generates a random color code and changes the background color of the page. The generated color code is also displayed, which users can use in their projects.

Project Overview

The Random Color Generator is built using React.js. It demonstrates the usage of React state management (useState) and side effects (useEffect) hooks. The application allows users to interact with it by clicking a button to generate new random colors.

Technologies Used

  • React.js
  • JavaScript (ES6+)
  • CSS

Setup Instructions

To run the project locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/Sedamalkocc/React-Age-Calculator.git
  1. Navigate to the project directory:
cd color
  1. Install the required dependencies:
npm install
  1. Start the development server:

To run the project on a local server, run the following command:

npm start

The application will run at http://localhost:3000 by default. You can see the application by opening your browser and going to this address.

Features

  • Generates random colors with a click of a button.
  • Changes the background color of the page dynamically.
  • Displays the generated color code.

Folder Structure

  • public/: Contains the HTML file and other static assets.
  • src/: Contains the React components and styles.

Screenshots

Screenshots are in the ScreenShot folder.

Licence

This project is licensed under the MIT License. See the [LICENSE] file for more information.