Simple Jquery Bootstrap Color Picker Plugin Example

Simple Jquery Bootstrap Color Picker Plugin Example

In this post we will give you information about Simple Jquery Bootstrap Color Picker Plugin Example. Hear we will give you detail about Simple Jquery Bootstrap Color Picker Plugin ExampleAnd how to use it also give you demo for it if it is necessary.

In this tutorial, I will tell you how to use bootstrap color picker in your form.

It’s very easy to pick a color for your component using Bootstrap color picker.

Bootstrap color picker provide multiple formats to add color like hex,rgb etc.

There are so many jquery plugins are available for adding color picker but Bootstrap color picker provide responsive color selector that can be easily integrate into your website.

You can easily customize color picker as per your needs, mainly this is used in admin interface for allowing user or visitors to customize theme color.

You can get this plugin on GitHub website that is developed by mjoinic.

  1. <htmllang="en">
  2. <head>
  3. <title>Bootstrap Color Picker Plugin Example</title>
  4. <linkhref="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"rel="stylesheet">
  5. <linkhref="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.3.6/css/bootstrap-colorpicker.css"rel="stylesheet">
  6. <scriptsrc="https://code.jquery.com/jquery-2.2.2.min.js"></script>
  7. <scriptsrc="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
  8. <scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.3.6/js/bootstrap-colorpicker.js"></script>
  9. </head>
  10. <body>
  11. <divclass="container">
  12. <h1>Bootstrap Color Picker Plugin Example</h1>
  13. <divid="cp2"class="input-group colorpicker-component">
  14. <inputtype="text"value="#00AABB"class="form-control"/>
  15. <spanclass="input-group-addon"><i></i></span>
  16. </div>
  17. </div>
  18. <scripttype="text/javascript">
  19. $('#cp2').colorpicker();
  20. </script>
  21. </body>
  22. </html>
<html lang="en">

<head>

    <title>Bootstrap Color Picker Plugin Example</title>

    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.3.6/css/bootstrap-colorpicker.css" rel="stylesheet">
    <script src="https://code.jquery.com/jquery-2.2.2.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-colorpicker/2.3.6/js/bootstrap-colorpicker.js"></script>

</head>

<body>

<div >
    <h1>Bootstrap Color Picker Plugin Example</h1> 
    <div id="cp2" > 
      <input type="text" value="#00AABB"  /> 
      <span ><i></i></span>
    </div>
</div>

<script type="text/javascript">
$('#cp2').colorpicker();
</script>

</body>

</html>




Show Demo

Hope this code and post will helped you for implement Simple Jquery Bootstrap Color Picker Plugin Example. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs

For More Info See :: laravel And github

Leave a Comment

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

73  +    =  82

We're accepting well-written guest posts and this is a great opportunity to collaborate : Contact US