text: 
  
  
  
  
  
  
  
  
  
  
  
  var _react=require('react');
  
  var colorPropType=function colorPropType(isRequired,props,propName,componentName,location,propFullName){
  var normalizeColor=require('../modules/normalizeColor');
  var ReactPropTypeLocationNames=require('react/lib/ReactPropTypeLocationNames');
  var color=props[propName];
  if(color===undefined||color===null){
  if(isRequired){
  var locationName=ReactPropTypeLocationNames[location];
  return new Error(
  'Required '+locationName+' `'+(propFullName||propName)+
  '` was not specified in `'+componentName+'`.');
  
  }
  return;
  }
  
  if(typeof color==='number'){
  
  
  
  return;
  }
  
  if(normalizeColor(color)===null){
  var locationName=ReactPropTypeLocationNames[location];
  return new Error(
  'Invalid '+locationName+' `'+(propFullName||propName)+
  '` supplied to `'+componentName+'`: '+color+'\n'+'Valid color formats are\n  - \'#f0f\' (#rgb)\n  - \'#f0fc\' (#rgba)\n  - \'#ff00ff\' (#rrggbb)\n  - \'#ff00ff00\' (#rrggbbaa)\n  - \'rgb(255, 255, 255)\'\n  - \'rgba(255, 255, 255, 1.0)\'\n  - \'hsl(360, 100%, 100%)\'\n  - \'hsla(360, 100%, 100%, 1.0)\'\n  - \'transparent\'\n  - \'red\'\n  - 0xff00ff00 (0xrrggbbaa)\n');
  
  
  
  
  
  
  
  
  
  
  
  
  
  }
  };
  
  if(process.env.NODE_ENV!=='production'){
  var ColorPropType=colorPropType.bind(null,false);
  ColorPropType.isRequired=colorPropType.bind(null,true);
  }else{
  var ColorPropType=function ColorPropType(){};
  }
  
  module.exports=ColorPropType;