Skip to content

Add random_rgb_color usage example#773

Open
anandika-nair wants to merge 1 commit into
thoth-tech:mainfrom
anandika-nair:random-rgb-color-example
Open

Add random_rgb_color usage example#773
anandika-nair wants to merge 1 commit into
thoth-tech:mainfrom
anandika-nair:random-rgb-color-example

Conversation

@anandika-nair
Copy link
Copy Markdown

Overview

This PR adds a usage example for the random_rgb_color function in the colour category.

The example demonstrates how random_rgb_color can be used to generate random RGB colours by displaying a colourful grid of randomly coloured squares, making the function easy for beginners to understand through a visual example.

Files Added

  • C++ example
  • C# top-level example
  • C# OOP example
  • Python example
  • Example GIF output
  • Description text file

Testing

  • Ran the C++ example locally
  • Verified the output window displays randomly coloured squares
  • Confirmed consistency across all language versions

@netlify
Copy link
Copy Markdown

netlify Bot commented May 15, 2026

Deploy Preview for splashkit failed.

Name Link
🔨 Latest commit e14b968
🔍 Latest deploy log https://app.netlify.com/projects/splashkit/deploys/6a06d174c8e454000898a621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant