Skip to content

Color masks for images with blend modes like in photoshop (a jQuery plugin)

Notifications You must be signed in to change notification settings

koteus/hipsterize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

hipsterize (a jQuery plugin)

Color masks for images with blend modes like in photoshop

Usage

$(function(){
    $('img').hipsterize({
        width: '100%',     // Overlay width (number, string with pixels or percentages)
        height: '193px',   // Overlay height (number, string with pixels or percentages)
        color: 'orange',   // Overlay color ('green', '#ff3334')
        alpha: 0.9,         // Overlay opacity (float from 0 to 1)
        mode: 'darken',    // Blend mode (normal|lighten|darken|multiply|average|add|substract|difference|negation|
				// screen|exclusion|overlay|softLight|hardLight|colorDodge|colorBurn|linearDodge|linearBurn|
        // linearLight|vividLight|pinLight|hardMix|reflect|glow|phoenix)
    });
});

About

Color masks for images with blend modes like in photoshop (a jQuery plugin)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published