Posted in HTML Canvas
11:36 pm, May 23, 2023

Instant colour fill with HTML Canvas

Nice site with coloring images art and no ad's. Nice to just draw and color. 

Demo is at , code is at .

Instant colour fill with HTML Canvas Demo

View Demo Full Screen View Demo New Tab

Instant colour fill with HTML Canvas Code


<html lang="en">
    <title>Instant Canvas Fill Example</title>
    <link rel="stylesheet" href="index.css"></link>
      This is an example of how to fill an area of an image, displayed in a HTML
      Canvas, instantly.
      The code for this is available on 
      <a href="" target="_blank">Github</a>,
      or just view the page source.  You can also read a description of how it
      works <a href="">
        my blog post
      </a> about it.
      <form id="speedForm" action="">
        <label><input type="radio" name="fillspeed" value="instant"></input> Fill Instantly</label>
        <label><input type="radio" name="fillspeed" value="slow" checked></input> Fill Slowly</label>
      <form id="colourForm">

        <label style="background-color: #00FF00; color: #000000;"><input type="radio" name="colour" value="#00FF00"></input> Green</label>
        <label style="background-color: #FF0000;"><input type="radio" name="colour" value="#FF0000" checked></input> Red</label>
        <label style="background-color: #0000FF;"><input type="radio" name="colour" value="#0000FF"></input> Blue</label>
      style="height: 750px; width: 1000px; border: 1px solid #666666"

    <!-- Tip o' the hat to -->
      aria-label="View source on GitHub"
        viewBox="0 0 250 250"
          fill: #151513;
          color: #fff;
          position: absolute;
          top: 0;
          border: 0;
          right: 0;
        <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
          d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
          style="transform-origin: 130px 106px"
          d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"

    <script type="text/javascript" src="browser.js"></script>

Related Tags

No Items Found.

Add Comment
Type in a Nick Name here
Other Items in HTML Canvas
Search Code
Search Code by entering your search text above.
Welcome to

Hi there and welcome to CSSBundle. Here at CSS Bundle we aim to find the best css and javascript bundles and demos and add them here to make them easy to find all in one place.

If you would like to stay up to date with our latest updates you can subscribe to our mailing list where we will send you one email per week with the latest updates, no spam emails just the latest updates.

Random Quote

Latest Code
css animations Falling Stars CSS Animation html Video different sources on screen sizes video embed html responsive css animations Animated Triangles on Canvas JS HTML HTML Canvas Instant colour fill with HTML Canvas javascript Transform Text into Images using SnapText JS CSS Tools Fancy Border Radius CSS Generator Tool - spin animation keyframes CSS Tools CSS Drop Filter Shadow Creator CSS Slider A CSS and HTML Only Carousel Slider CSS Z-Index Z-Index Code Front - CSS to change z-index when element is active sections section with image to the right text to the left gradient Sections Two Clickable Logo Promo Box Section Foundation HTML CSS Sections Inline Contact Form Formatting HTML CSS Sections Overview full width section in Poppins font with light gray background using foundation Interactive Images Map Image with Easy Dots and Titles using only CSS HTML Sections Social Header Links easy Drop in Code with Font Awesome Icons Sections Responsive Friendly Subscribe to our Newsletter Section CSS Tips Create a button with CSS, HTML and Center it! CSS Text Formatting Truncate Text to an amount of lines using line-clamp CSS Positions Item Positioning in CSS CSS Tips Draw a Circle in CSS css animations Magical Text Effect Bootstrap 4.2 Kitchen Sink CSS Frameworks Make your site look like windows 7 CSS Backgrounds Fancy up your banner image hero sections using overlay gradients CSS Modal Floating Modal Message Fixed on the Bottom of the Screen CSS Modal Create a modal with only CSS css grid display items in a css grid CSS Text Effects Using the selection selector to change the default highlight color Text Truncate your Text with CSS CSS Cursors Change your cursor into an Emoji Cursor or Image Cursor CSS How to Center Everything or Anything with CSS CSS Animations Smooth Scrolling with just CSS CSS Animations Radial Glow under cursor on box hover over effect CSS Shadows Using a filter drop shadow for transparent images CSS Animations Pure CSS 3D Flipping Book with Animations CSS Create a checkerboard background pattern with CSS CSS Animations button animations hover and fill animation CSS Animations button on focus swing animation CSS Animations Animated Button Border when Active Quick CSS create a border with top triangle in css CSS Animations Single Element CSS Spinners CSS Animations CSS Shake - Shake up your elements CSS Framework NES-style(8bit-like) CSS Framework CSS Tips Why to use a CSS Reset? Web Developer Checklists Front-End Checklist Icons Font Awesome Icons CSS Animation Animate Stuff with Animate.css CSS Animations Check Wave Click a Checkbox and Watch the Animation Animation Cloudy spiral animation with CSS3 Notifications Toast Messages and Notifications Standalone Library no JQuery - notify.js