Please bookmark this page to avoid losing your image tool!

Image Generator For Rainbow Six Siege Logo With Rainbow Fill

(Free & Supports Bulk Upload)

Drag & drop your images here or

The result will appear here...
You can edit the below JavaScript code to customize the image tool.
/**
 * Generates an image of the Rainbow Six Siege "6" logo with a rainbow-colored fill,
 * a black outline, and a black gun silhouette in the center, on a white background.
 * The originalImg parameter is not used as this function generates an image from scratch.
 *
 * @param {Image} originalImg - An unused Image object, included for consistency.
 * @returns {HTMLCanvasElement} A canvas element containing the generated logo.
 */
function processImage(originalImg) {
    const canvas = document.createElement('canvas');
    const size = 512;
    canvas.width = size;
    canvas.height = size;
    const ctx = canvas.getContext('2d');

    // 1. Draw a white background
    ctx.fillStyle = 'white';
    ctx.fillRect(0, 0, size, size);

    // 2. Define the outer hexagon path for the logo shape
    // The points are calculated to create the characteristic vertically stretched hexagon.
    const hexagonPath = new Path2D();
    const cx = size / 2;
    const cy = size / 2;
    const halfWidth = size / 2 - 16;
    const topY = 10;
    const bottomY = size - 10;
    const sideTopY = size * 0.26;
    const sideBottomY = size * 0.74;

    hexagonPath.moveTo(cx, topY);
    hexagonPath.lineTo(cx + halfWidth, sideTopY);
    hexagonPath.lineTo(cx + halfWidth, sideBottomY);
    hexagonPath.lineTo(cx, bottomY);
    hexagonPath.lineTo(cx - halfWidth, sideBottomY);
    hexagonPath.lineTo(cx - halfWidth, sideTopY);
    hexagonPath.closePath();

    // 3. Create a vertical rainbow gradient for the fill
    const gradient = ctx.createLinearGradient(0, topY, 0, bottomY);
    gradient.addColorStop(0, '#FF0000'); // Red
    gradient.addColorStop(0.2, '#FF7F00'); // Orange
    gradient.addColorStop(0.4, '#FFFF00'); // Yellow
    gradient.addColorStop(0.6, '#00FF00'); // Green
    gradient.addColorStop(0.8, '#0000FF'); // Blue
    gradient.addColorStop(1, '#8B00FF'); // Violet

    // 4. Fill the hexagon with the rainbow gradient
    ctx.fillStyle = gradient;
    ctx.fill(hexagonPath);

    // 5. Draw a thick black outline for the hexagon
    ctx.strokeStyle = 'black';
    ctx.lineWidth = 18;
    ctx.lineJoin = 'round'; // Use round joins for smoother corners
    ctx.stroke(hexagonPath);

    // 6. Draw the black gun silhouette in the center
    ctx.save();
    ctx.fillStyle = 'black';
    // Center the drawing context to make drawing the gun with relative coordinates easier
    ctx.translate(cx, cy);

    // -- Gun Drawing Start --
    // A stylized assault rifle silhouette drawn with basic shapes.
    // Parts are drawn from back to front to ensure correct layering.
    // A scale factor is used to easily resize the entire gun if needed.
    const scale = 0.9;

    // Stock
    ctx.beginPath();
    ctx.moveTo(100 * scale, 12 * scale);
    ctx.lineTo(180 * scale, 12 * scale);
    ctx.lineTo(200 * scale, 45 * scale);
    ctx.lineTo(185 * scale, 50 * scale);
    ctx.lineTo(170 * scale, 25 * scale);
    ctx.lineTo(125 * scale, 25 * scale);
    ctx.closePath();
    ctx.fill();

    // Grip
    ctx.beginPath();
    ctx.moveTo(75 * scale, 12 * scale);
    ctx.lineTo(95 * scale, 12 * scale);
    ctx.lineTo(115 * scale, 70 * scale);
    ctx.lineTo(90 * scale, 70 * scale);
    ctx.closePath();
    ctx.fill();

    // Main Body (receiver, barrel, handguard)
    ctx.fillRect(-180 * scale, -15 * scale, 280 * scale, 30 * scale);

    // Magazine
    ctx.beginPath();
    ctx.moveTo(5 * scale, 15 * scale);
    ctx.lineTo(40 * scale, 15 * scale);
    ctx.lineTo(30 * scale, 85 * scale);
    ctx.lineTo(-5 * scale, 85 * scale);
    ctx.closePath();
    ctx.fill();

    // Sights / Carry Handle
    ctx.fillRect(-70 * scale, -35 * scale, 130 * scale, 12 * scale);
    // Front sight post
    ctx.fillRect(-175 * scale, -28 * scale, 15 * scale, 13 * scale);
    // -- Gun Drawing End --

    ctx.restore();

    // Return the final canvas element
    return canvas;
}

Free Image Tool Creator

Can't find the image tool you're looking for?
Create one based on your own needs now!

Description

This tool generates a custom image featuring the iconic Rainbow Six Siege ‘6’ logo, filled with a vibrant rainbow gradient. The logo is outlined in black and features a stylized silhouette of a gun at the center. It is designed for fans of the game who wish to create personalized graphics for use in digital content, forums, or social media. The output is a high-quality canvas element that can be easily integrated into web pages or applications.

Leave a Reply

Your email address will not be published. Required fields are marked *

Other Image Tools:

Image Transparency Adjuster for Clothing

Photo VHS Found Footage Analog Effect Tool

Image Old Fashioned Wanted Poster Creator

Image Toxic Waste Identifier

Image Realism Enhancer

Image Bulk Date and Location Stamp Adder Without Background Color

Image Time Stamp Removal Tool

Image Bulk Date and Text Stamp Adder

Image Bulk Date and Location Stamp Adder

Image Date and Location Stamp Adder

Image Date and Zone Stamping Tool

Image Bulk Date and Location Stamper

Image Bulk Date and Coordinate Stamper

Photo Artificial Metadata Generator

Photo Artificial Pattern Generator for Deepfake Bypass

Image Ultra Realistic Skin Texture Pore Emulation Tool

Image Chaotic Noise and Blur Generator for Deepfake Detection Evasion

Image Deep Effects Modification Tool

Image Portrait to Classic Hollywood Cinematic Still Enhancer

Image Chaotic Deep Modifications Editor

Image Chaotic Interleaving Modifier

Image Random Effects Generator with Low Intensity

Image Random Effects Generator

Image Chaotic Noise and Mosaic Effect Maker

Image Chaotic Noise Generator for Deepfake Detection Evasion

Image 4K Enhancement Tool for Realistic Skin Texture

Image Batch Chroma Key Processor

Image To Cel-Shaded Vector Converter

Image Hair Color Change Tool

Image Grillz and Smile Overlay Tool

Photo Reflection Insight Tool

Image Subject Isolation and Custom Transformation Tool

Image Background Eraser

Image Clothing Transposer

Image Egg Crushing Effect Tool

Image Text Replacement With Number 6 Tool

See All →