imathis / hsl-picker

A most excellent HSL color picker
http://hslpicker.com
MIT License
405 stars 53 forks source link

State your code’s license #10

Closed roryokane closed 10 years ago

roryokane commented 10 years ago

What license is your code released under? Could I use your code to write a similar color picker with sliders?

I was thinking idly about making a slider-based color picker for the HUSL color space, to complement that site’s current slider-and-map picker. Then I remembered that I like the interface of your site very much, and you link to its code in the footer. But I don’t see any license for your code in this repository. Could I, for example, make a clone of your site at huslpicker.com that used the HUSL color model, if the clone credited you as the creator of the interface? What if I used only components of your code to enhance the existing picker on the HUSL site?

I would expect HSL Color Picker’s license to either be stated in the README, or in a file LICENSE at the root of the repo.

roryokane commented 10 years ago

You can easily choose an open-source license with GitHub’s ChooseALicense.com. To apply a license, for example the MIT License:

  1. Click this link to create a new LICENSE file in your repository
  2. Choose “MIT License” from the “Want to use a template?” menu at the top right
  3. Replace “{{{year}}}” with “2012” and “{{{fullname}}}” with “Brandon Mathis”
  4. Click “Commit new file”

That’s all it would take.

imathis commented 10 years ago

Taken care of. Thanks for the prompting I forgot I hadn't licensed this.