OSDN Git Service

This closes #1792, support to update defined names reference when rename worksheet...
[excelize/excelize.git] / hsl.go
diff --git a/hsl.go b/hsl.go
index fd10b5d..68ddf21 100644 (file)
--- a/hsl.go
+++ b/hsl.go
@@ -1,8 +1,3 @@
-// Package excelize providing a set of functions that allow you to write to
-// and read from XLSX files. Support reads and writes XLSX file generated by
-// Microsoft Excelâ„¢ 2007 and later. Support save file without losing original
-// charts of XLSX. This library needs Go version 1.8 or later.
-//
 // Copyright (c) 2012 Rodrigo Moraes. All rights reserved.
 //
 // Redistribution and use in source and binary forms, with or without
@@ -30,6 +25,7 @@
 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 package excelize
 
 import (
@@ -64,7 +60,7 @@ func hslModel(c color.Color) color.Color {
        return HSL{h, s, l}
 }
 
-// RGBToHSL converts an RGB triple to a HSL triple.
+// RGBToHSL converts an RGB triple to an HSL triple.
 func RGBToHSL(r, g, b uint8) (h, s, l float64) {
        fR := float64(r) / 255
        fG := float64(g) / 255
@@ -99,7 +95,7 @@ func RGBToHSL(r, g, b uint8) (h, s, l float64) {
        return
 }
 
-// HSLToRGB converts an HSL triple to a RGB triple.
+// HSLToRGB converts an HSL triple to an RGB triple.
 func HSLToRGB(h, s, l float64) (r, g, b uint8) {
        var fR, fG, fB float64
        if s == 0 {